Good evening,
I'd like to interact with Visible Edges Dialog Box.
I wish to set several parameters as view, boundary, output file, method, attributes for Visible and Hidden edge, etc.
I have to implement IModalDialogEvents in a class module and use AddModalDialogEventsHandler before use CadInputQueue.SenCommand "MDL COMMAND EDGE EXPORT" in the module
In the IModalDialogEvents_OnDialogOpened, I don't know the syntax to set parameters on the Visible Edges Dialog Box
I tried searching on Microstation VBA Help and on the web without any results
So I reorded a macro exporting visible edge, but I obtained SetCExpressionValue
Where can I find that sintax? Can yo help me?
Thanks a lot.
Paolo
Hi Paolo Maggiani,
Recording a macro (MicroStation VBA and/or Bentley Macro Recorder) are always good first steps to try and capture global variable settings that may be present and especially in modal dialog boxes. I would also like to suggest if the MicroStation VBA object model does not currently support an area of functionality needed, MicroStation Batch Processing (like: Batch Update Cached Visible Edges) and Key-ins (like: Visible Edges Display Key-ins, or set item toolsettings) may often provide an alternate insights and slightly different ways to accomplish a given task.
HTH,Bob