Property Name
|
Description
|
Base Type
|
Default Value
|
Bindable Target (T) / Bindable Source (S)
|
||||
---|---|---|---|---|---|---|---|---|
ProductToView
|
Visualizes the Creo View data in ThingWorx. Use this property to specify the URL to the Creo View structure file or PDF document. You can load either a PVZ file or URL to the structure or URL to a PDF.
• If your model contains a single figure, it is automatically loaded.
• If your model contains multiple figures, no figure is automatically loaded. In this case, select the figure you want to load using the Views property or the ThingViewControls user interface.
• If the model contains no figures, all the default visible parts from the structure are loaded.
• If the URL is to a PDF, the document will be loaded automatically. To load a PDF document or a drawing, specify a URL directly to a PDF file. To load a PVZ file containing a PDF document or drawing, use the views property.
As the ThingView widget runs in the client browser session, any requests for content that is not to the same-origin is subjected to cross-origin request rules. As a best practice, content should either be located and served by the ThingWorx server or be routed through a content proxy if you load it from Windchill.
|
STRING
|
NA
|
T
|
||||
Orientations
|
Sets the view orientation.
Values for the standard view orientations are:
• ISO1
• ISO2
• Top
• Bottom
• Left
• Right
• Front
• Back
|
STRING
|
ISO1
|
T
|
||||
MouseNavigation
|
Sets the mouse navigation mode.
Values for mouse navigation modes are:
• CreoView
• Creo
• CATIA_V5_Compatible
• Explore
|
STRING
|
CreoView
|
T
|
||||
Orientation
|
Angle of rotation of camera in degrees. Specify the orientation in the X,Y,Z format. This property is used in conjunction with the GetViewLocation or SetViewLocation services.
For example, to rotate 90 degrees around the Y-axis, specify 0,90,0.
|
STRING
|
NA
|
T
S
|
||||
Position
|
Position of the camera in meters. Specify the position in X,Y,Z format. This property is used in conjunction with the GetViewLocation or SetViewLocation services.
For example, to locate the camera at 0.5 meters along X-axis, specify 0.5,0,0.
|
STRING
|
NA
|
T
S
|
||||
BackgroundStyle
|
Changes the background color of the view. It uses the Background color field from the style definition.
|
STYLEDEFINITION
|
NA
|
NA
|
||||
Data
|
Used to handle cross selection, color, and transparency formatting for parts loaded in the session.
For cross selection, use a Data Table that contains a column of occurrence IDs of the parts in the model. The occurrence ID paths are unique identifiers of a part in Creo View data.
For changing the color and transparency of parts, use another column along with a DataFormatter. See the DataFormatter property for more information. Bind this Data Table to the Data property and Data property of the Grid widget to perform a cross selection between them.
|
INFOTABLE
|
NA
|
T
S
|
||||
OccurrenceField
|
Contains the occurrence ID. The column is selected from the Data Table which is bound to the Data property.
|
FIELDNAME
|
treeId
|
NA
|
||||
DataFormatter
|
Uses state-based formatting to apply color and transparency to Creo View parts. Specify a column from the Data Table which is bound to the Data property.
|
STATEFORMATTING
|
NA
|
NA
|
||||
SelectedOccurrencePath
|
Occurrence path of the part that is selected in the 3D data.
If multiple parts are selected, the property specifies the occurrence path of the last selected part.
|
STRING
|
NA
|
S
|
||||
PreSelectedOccurrencePath
|
Occurrence path of the part that is preselected in the 3D data. Hover over a part to preselect it.
|
STRING
|
NA
|
S
|
||||
Views
|
Data Table that contains the list of views available for the product structure that is loaded. The type of views supported are:
• annotation/model
• annotation/document
• annotation/drawing
• viewable/illustration3D
• viewable/document
• viewable/drawing
• viewstates
To load a view, bind the Views property to a Grid and use the single selected row to trigger the load of a specific view.
|
INFOTABLE
|
NA
|
T
S
|
||||
Gnomon
|
Shows or hides the gnomon. A gnomon is a 3D symbol for an absolute XYZ coordinate system. It provides a reference to understand the orientation of objects in the view.
|
BOOLEAN
|
False
|
T
S
|
||||
EnablePartSelection
|
Enables or disables part selection.
|
BOOLEAN
|
True
|
T
S
|
||||
EnablePartDragger
|
Shows or hides the part dragger when parts are selected. This property is also available in the ThingViewControls user interface.
|
BOOLEAN
|
False
|
T
S
|
||||
SpinCenter
|
Shows or hides the spin center while rotating the view.
|
BOOLEAN
|
False
|
T
S
|
||||
AllowCORSCredentials
|
Enables cross-origin requests (CORS).
|
BOOLEAN
|
False
|
NA
|
||||
AllowClientRedirect
|
This property is applicable if the media proxy is used to load models from Windchill.
When set to true, clients handle the redirect response from Windchill to load parts.
When set to false, the media proxy handles the redirect response from Windchill.
|
BOOLEAN
|
True
|
NA
|
||||
AcknowledgeStepText
|
Acknowledgement message for a sequence step.
|
STRING
|
NA
|
S
|
||||
SequenceStepNumber
|
Step number of the current sequence.
|
STRING
|
NA
|
S
|
||||
SequenceStepName
|
Name of the current sequence step.
|
STRING
|
NA
|
S
|
||||
WindchillSourceData
|
Set to true if the source data is from Windchill, else set it to false.
|
BOOLEAN
|
True
|
NA
|
||||
EnableWindchillFileCache
|
Enables saving of Windchill part files to cache for faster loading.
|
BOOLEAN
|
False
|
NA
|
||||
WindchillCacheSize
|
Maximum cache size in megabytes for storing part geometry from Windchill files.
|
NUMBER
|
1000
|
NA
|
||||
SelectedParts
|
Data Table that contains the occurrence IDs of the selected parts.
The Data Table uses the Selection Data Shape.
|
INFOTABLE
|
NA
|
T
S
|
||||
ThingViewControls
|
Enables the side panels user interface to interact with the model.
|
BOOLEAN
|
True
|
NA
|
||||
DisplaySequenceAnimationControls
|
Shows and hides the display of the animation and sequence playback controls. When you load any figure containing an animation or a sequence, this property either displays or hides the playback controls for it.
|
BOOLEAN
|
True
|
NA
|
||||
DisplayViewState
|
Shows and hides the view states in the side panels user interface. This property is applied only if ThingViewControls property is set.
|
BOOLEAN
|
True
|
NA
|
||||
DisplayAlternateRep
|
Shows and hides the alternate representations in the side panels user interface. This property is applied only if ThingViewControls property is set.
|
BOOLEAN
|
False
|
NA
|
||||
DisplayExplodeState
|
Shows and hides explode state in the side panels user interface. This property is applied only if ThingViewControls property is set.
|
BOOLEAN
|
False
|
NA
|
||||
DisplaySectionCut
|
Shows and hides the section cuts in the side panels user interface. This property is applied only if ThingViewControls property is set.
|
BOOLEAN
|
False
|
NA
|
||||
DisplayFilter
|
JSON string to configure the display of model annotations and model construction geometry in the view.
|
STRING
|
{
"ModelAnnotation": { "HiddenByDefault": true, "PlanarAnnotation": true, "FloatingAnnotation": false, "MiscAnnotation": false, "ScreenAnnotation": true }, "ConstructionGeometry": { "Surfaces": false, "Cosmetics": false, "DatumPlanes": false, "DatumPlanesTags": false, "DatumPoints": false, "DatumPointsTags": false, "CoordinateSystems": false, "CoordinateSystemsTags": false } } |
NA
|
||||
ProjectionMode
|
Specifies the projection mode for the current view. Values for projection modes are:
• Orthogonal—Views the objects without any perspective effects.
• Perspective—Renders a realistic view of models.
|
STRING
|
Orthogonal
|
NA
|
||||
PerspectiveHFOV
|
Specifies the field of view for Perspective mode. You can set the value between 0 degrees to 180 degrees.
|
NUMBER
|
60
|
NA
|
||||
SelectionPropertyGroupName
|
Specifies the group name of the selection property.
This property is applicable only when the SelectedParts property selection mode (SelectedPartsSelectionMode) is either PROPPATH or PROPVALUE.
|
STRING
|
NA
|
T
|
||||
SelectionPropertyName
|
Specifies the name of the selection property.
This property is applicable only when the SelectedParts property selection mode (SelectedPartsSelectionMode) is either PROPPATH or PROPVALUE.
|
STRING
|
NA
|
T
|
||||
SelectedPartsSelectionMode
|
Specifies the selection mode for the SelectedParts property:
• IDPATH— The occurrence IDs of the parts in the model are used for the selection.
• PROPPATH— The path value. This is derived from the property value from each node in the assembly to the child node. The property value comes from the group name and property name by using the SelectionPropertyGroupName and SelectionPropertyName widget properties.
• PROPVALUE— The value specified by the SelectionPropertyGroupName and SelectionPropertyName properties.
|
STRING
|
IDPATH
|
NA
|
||||
PrimitivesColor
|
Specifies the default part primitive color if a color is not defined in the part or structure file.
|
STYLEDEFINITION
|
ThingViewDefaultPrimitivesColor
|
NA
|