DrawingView.GetVisibility Method
Parent Object: DrawingViewDescription
Method that gets the visibility of the input object in the drawing view. This returns error if the input object has partial visibility status.
Syntax
DrawingView.GetVisibility( Object As Object ) As BooleanParameters
Name | Type | Description |
Object | Object | Input object to get the visibility state of. Valid objects are 2d and 3d sketches, work features, surface features, occurrences and proxies for all of these. The object needs to be supplied in the context of the document referenced by the drawing view. For instance, to set the visibility state of a 3D sketch within a part instanced in an assembly (and the drawing view is of the assembly), the input should be a Sketch3DProxy object created in context of the assembly. An error will occur if no corresponding object exists in the drawing view. |