Skip to main content
Legend
December 14, 2018
Question

FM2019 - How to set element boundary display

  • December 14, 2018
  • 1 reply
  • 537 views

Hi, I believe this was a FM2017 change, but I skipped over that version and I'm now coming late to this question. Now that element boundary display is an application-level parameter, how do I set it with the FDK or ES? I can't find any documentation, anything in f_apidefs.h, or the ES browser. This does not work:

F_ApiSetInt(0, docId, FP_ElementBoundaryDisplay, FV_ELEM_DISP_BRACKETS);

Thanks,

Russ

This topic has been closed for replies.

1 reply

Russ WardAuthor
Legend
December 14, 2018

Sorry, meant to paste:

F_ApiSetInt(0, FV_SessionId, FP_ElementBoundaryDisplay, FV_ELEM_DISP_BRACKETS);

4everJang
Legend
December 14, 2018

Hi Russ,

This works for me:

app.ActiveDoc.ElementBoundaryDisplay = 0

The property is on the document, but apparently it is inherited in any new document that is opened. Still, when I switch them on in the active Doc, the boundaries remain visible in the other already opened docs.

Ciao

Russ WardAuthor
Legend
December 14, 2018

Hi Jang. This does not work for me. I try various variations, nothing has any effect. I wonder what is up.

Russ