Skip to main content
Legend
Dec 14, 2018 2:21 PM UTC
Question

FM2019 - How to set element boundary display

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Russ WardAuthor
Legend
Dec 14, 2018 2:22 PM UTC

Sorry, meant to paste:

F_ApiSetInt(0, FV_SessionId, FP_ElementBoundaryDisplay, FV_ELEM_DISP_BRACKETS);

Translate
4everJang
Legend
Dec 14, 2018 2:30 PM UTC

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

Translate
Russ WardAuthor
Legend
Dec 14, 2018 3:16 PM UTC

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

Russ

Translate