Navigation: Scripting Reference Manual > Functions & Subroutines > DataCollectorPropertiesSet

 

DataCollectorPropertiesSet

 

Contact Us: fredsupport@photonengr.com

 

Description

This subroutine sets the properties of the Surface Data Collector Visualization analysis.  The display is updated once the Update command is called.

 

Syntax

DataCollectorPropertiesSet( tCol )

 

Parameters

tCol As T_COLLECTOR_PROPERTIES

Data structure variable defining the configuration of the Surface Data Collector Visualization analysis.

 

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

DataCollectorPropertiesGet

DataCollectorPropertiesInit

T_COLLECTOR_PROPERTIES

 

 

 

 

 

 

Copyright © Photon Engineering, LLC