Cannot change workPlaneProxy.Visible in iPartMember
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have code that works with simple parts and ContentCenter parts, but cannot change the visibility in iPartMember. Does anyone know why?
Sub ShowWorkPlanes()
Set oCC = ThisApplication.ActiveDocument.SelectSet.Item(1)
Dim oWorkPlaneProxy As workPlaneProxy
For Each oWorkPlane In oCC.Definition.WorkPlanes
Call oCC.CreateGeometryProxy(oWorkPlane, oWorkPlaneProxy)
oWorkPlaneProxy.Visible = True
Next
End Sub
Link copied