Message 1 of 14
[iLogic] Open Drawing First View Model iProperties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone!
I'm trying to open the iProperties window of a model (part or assembly), while on a drawing.
This is the current code:
Dim oDrawingDoc As DrawingDocument oDrawingDoc = ThisApplication.ActiveDocument Dim oSheet As Sheet oSheet = oDrawingDoc.ActiveSheet Dim oDrawingView As DrawingView oDrawingView = oSheet.DrawingViews.Item(1)
I don't know how, using iLogic, I could select the model in the view.
After that, I could just launch the window using:
Call ThisApplication.CommandManager.ControlDefinitions.Item("DrawingiPropertiesCmd").Execute
Any tips?
João Silva
Mechanical Engineer