SketchDistanceBetweenLineAndPlanarSurfaceDimension.assemblyContext Property

Parent Object: SketchDistanceBetweenLineAndPlanarSurfaceDimension
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchDistanceBetweenLineAndPlanarSurfaceDimension.h>

Description

Returns the assembly occurrence (i.e. the occurrence) of this object in an assembly. This is only valid in the case where this is acting as a proxy in an assembly. Returns null in the case where the object is not in the context of an assembly but is already the native object.

Syntax

"sketchDistanceBetweenLineAndPlanarSurfaceDimension_var" is a variable referencing a SketchDistanceBetweenLineAndPlanarSurfaceDimension object.

# Get the value of the property.
propertyValue = sketchDistanceBetweenLineAndPlanarSurfaceDimension_var.assemblyContext
"sketchDistanceBetweenLineAndPlanarSurfaceDimension_var" is a variable referencing a SketchDistanceBetweenLineAndPlanarSurfaceDimension object.
#include <Fusion/Sketch/SketchDistanceBetweenLineAndPlanarSurfaceDimension.h>

// Get the value of the property.
Ptr<Occurrence> propertyValue = sketchDistanceBetweenLineAndPlanarSurfaceDimension_var->assemblyContext();

Property Value

This is a read only property whose value is an Occurrence.

Version

Introduced in version September 2023