Using the Creo View Extension
With the Creo View Extension, you can visualize 3D data from Windchill within a ThingWorx application. This extension is included with the PTC Windchill Extension. The Creo View Extension provides the following capabilities:
• Interact with the Creo View 3D data from Windchill. For example, you can zoom, pan, and rotate the 3D graphics.
• Trigger events when Creo View parts are selected.
• Change the transparency and color of the Creo View parts.
• Change the background color of the Creo View plugin.
For examples of how to use this extension, see ”Example: Create a Custom Task for ThingWorx Navigate” in the Navigate Help.
The Creo View Extension has the following properties and events:
• ProductToView – Visualizes 3D data from Windchill in the Creo View Extension. It is the URL to the Creo View data file. Populate the ProductToView property to visualize the data.
• BackgroundStyle – Changes the background color of the Creo View 3D graphics area.
• Data – Makes Creo View parts selectable, and also lets users change their color and transparency. You must bind this property to a data table. The data table must contain a column which specifies the Occurrence ID (oid) of the part. This is the unique ID of the part in the Creo View 3D data.
• DataFormatter – Specifies rules that must be used to apply color and transparency to the Creo View parts. Specify a column for these rules from the data table which is bound to the Data property.
• OccurrenceField – Makes the column that must be used as the Occurrence ID selectable. The column is selected from the data table which is bound to the Data property.
• selectedOccurrencePath – Specifies the Occurrence ID of the part selected in the 3D data.
• selectionChanged – Indicates a change in the selection of 3D data.
|
If your organization is using Windchill 10.2 M030 or 10.2 M032, your users must sign in to Windchill separately in order for the Creo View plugin to work.
|