hexagon logo

I want the " TRACEFIELD/NO_DISPLAY,"

exported code:
Set DmisCommand = DmisCommands.Add(TRACEFIELD, TRUE)
DmisCommand.Marked = TRUE
retval = DmisCommand.PutText ("编号", TRACE_NAME, 0
retval = DmisCommand.PutText ("0", TRACE_VALUE, 0)
retval = DmisCommand.PutText ("15", TRACE_VALUE_LIMIT, 0)
but when I excuted the TRACEFIELD always displayed,I want not displayed ,anybody known how to no_displayed by coding?
Parents
  • If you right click in the EW, select "Change popup display" -> "Data type information" and then hover over the DISPLAY/NO_DISPLAY part of a TRACEFIELD command you will see the message "Display Trace Prompt (DISPLAY_TRACE - 256), 0", so my guess is that you can set that value with

    retval = DmisCommand.PutText ("0", DISPLAY_TRACE, 0)

    where "0" might have to be "False", "Off" or something completely different - no way to know, you'll have to test...
Reply
  • If you right click in the EW, select "Change popup display" -> "Data type information" and then hover over the DISPLAY/NO_DISPLAY part of a TRACEFIELD command you will see the message "Display Trace Prompt (DISPLAY_TRACE - 256), 0", so my guess is that you can set that value with

    retval = DmisCommand.PutText ("0", DISPLAY_TRACE, 0)

    where "0" might have to be "False", "Off" or something completely different - no way to know, you'll have to test...
Children
No Data