Display Styles, Display Rules activation

I am building a tool that navigates through saved views and applies a display rule to the saved view based on named groups created from ISO pipe properties. The question I have is regarding an issue with how and when display rules are applied.

When I apply a display style with a display rule via keyin (display style with a display rule already applied stored in a dgnlib), the display rule is not actually applied until the display styles dialog is physically opened whether by button or keyin. The keyin to apply a display rule does not exist until the display styles dialog is physically opened. Is there a way to load the dialog in silent mode so that I can apply the display rule? What is the keyin to close the display styles dialog as I am unable to find it or figure out what it is. Anyone have any ideas?

Parents
  • Is there a way to load the dialog in silent mode so that I can apply the display rule?

    With the display styles dialog showing, look in the list of loaded MDL applications.  You can find it under Utilities.  The MDL apps. is CUSTOMDISPMODE.  You can load that app. using key-in mdl load CustomDispMode.  The dialog doesn't pop but you can see that the app. is loaded in the Loaded Applications dialog.

    If you're writing a VBA app. you can send that key-in using

    CadInputQueue.SendCommand "mdl load CustomDispMode"

     
    Regards, Jon Summers
    LA Solutions

    Answer Verified By: Mark Winegar 

Reply
  • Is there a way to load the dialog in silent mode so that I can apply the display rule?

    With the display styles dialog showing, look in the list of loaded MDL applications.  You can find it under Utilities.  The MDL apps. is CUSTOMDISPMODE.  You can load that app. using key-in mdl load CustomDispMode.  The dialog doesn't pop but you can see that the app. is loaded in the Loaded Applications dialog.

    If you're writing a VBA app. you can send that key-in using

    CadInputQueue.SendCommand "mdl load CustomDispMode"

     
    Regards, Jon Summers
    LA Solutions

    Answer Verified By: Mark Winegar 

Children