Description This subroutine retrieves the current settings of the Surface Data Collector Visualization analysis.
Syntax DataCollectorPropertiesGet( tCol )
Parameters tCol As T_COLLECTOR_PROPERTIES Data structure variable that will be populated with the Surface Data Collector Visualization analysis properties after the subroutine executes.
Example The following example demonstrates a script that will toggle the state of the Surface Data Collector Visualization drawing in the 3D view.
Sub Main
'Retrieve current DC properties Dim tCol As T_COLLECTOR_PROPERTIES DataCollectorPropertiesGet( tCol )
'Reverse the signs of the draw flags tCol.isDrawFacets = Not(tCol.isDrawFacets) tCol.isDrawLegend = Not(tCol.isDrawLegend)
'Apply new settings to document DataCollectorPropertiesSet( tCol ) Update
End Sub
See Also Data Collector Surface Scripting
|