03-06-2020
11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-06-2020
11:31 AM
Don't worry I found it. The following snippet illustrates how to change the Model State of a weldment view.
'Create View oBaseView = oSheet.DrawingViews.AddBaseView(oPartDoc, oPoint1, ViewScale, ViewOrientationTypeEnum.kIsoTopRightViewOrientation, DrawingViewStyleEnum.kHiddenLineRemovedDrawingViewStyle) 'View Settings oBaseView.DisplayForeshortenedTangentEdges = True If oPartDoc.DocumentSubType.DocumentSubTypeID = "{28EC8354-9024-440F-A8A2-0E0E55D635B0}" 'If Weldment oBaseView.SetWeldmentState(WeldmentStateEnum.kMachiningWeldmentState) End If