
Not applicable
โ05-14-2020
04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
Could anybody help me with edditing code:
Dim doc As DrawingDocument = ThisDoc.Document For Each sheet As Sheet In doc.Sheets For Each view As DrawingView In Sheet.DrawingViews Dim camera As Camera = View.Camera If (camera.ViewOrientationType = ViewOrientationTypeEnum.kIsoTopRightViewOrientation) Then Continue For End If Dim refDoc = View.ReferencedDocumentDescriptor.ReferencedDocument Dim axis As WorkAxes = refDoc.ComponentDefinition.WorkAxes View.SetIncludeStatus(axis.Item(1), True) View.SetIncludeStatus(axis.Item(2), True) View.SetIncludeStatus(axis.Item(3), True) Next Next
I want include work axis from assembly to drawing - include controll ilogic rule.
Is possible to define for what drawing view and for what axis (by name)?
Thanks a lot.
Solved! Go to Solution.