CustomGraphicsPointSet.viewPlacement Property
Parent Object:
CustomGraphicsPointSetDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsPointSet.h>
Description
Gets and sets the graphics view placement being applied to this graphics entity. A CustomGraphicsViewPlacement object can be created using the static create method of the class. When assigned to a graphics entity the position of the graphics is defined relative to the view in 2D view space (pixels) rather than in 3D model space (centimeters).
Syntax
"customGraphicsPointSet_var" is a variable referencing a CustomGraphicsPointSet object.
# Get the value of the property. propertyValue = customGraphicsPointSet_var.viewPlacement
# Set the value of the property. customGraphicsPointSet_var.viewPlacement = propertyValue
|
"customGraphicsPointSet_var" is a variable referencing a CustomGraphicsPointSet object.
#include <Fusion/Graphics/CustomGraphicsPointSet.h>
// Get the value of the property. Ptr<CustomGraphicsViewPlacement> propertyValue = customGraphicsPointSet_var->viewPlacement();
// Set the value of the property, where value_var is a CustomGraphicsViewPlacement. bool returnValue = customGraphicsPointSet_var->viewPlacement(value_var);
|
Property Value
This is a read/write property whose value is a
CustomGraphicsViewPlacement.
Version
Introduced in version September 2017