assemblyContext |
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. |
attributes |
Returns the collection of attributes associated with this construction point. |
baseFeature |
If this construction point is associated with a base feature, this property will return that base feature. If it's not associated with a base feature, this property will return null. |
component |
Returns the component this construction point belongs to. |
definition |
Returns the construction point definition object which provides access to the information defining the construction point. |
entityToken |
Returns a token for the ConstructionPoint object. This can be saved and used at a later time with the Design.findEntityByToken method to get back the same construction point.
When using entity tokens it's important to understand that the token string returned for a specific entity can be different over time. However, even if you have two different token strings that were obtained from the same entity, when you use findEntityByToken they will both return the same entity. Because of that you should never compare entity tokens as way to determine what the token represents. Instead, you need to use the findEntityByToken method to get the two entities identified by the tokens and then compare them. |
errorOrWarningMessage |
Returns the error or warning message in the case where the healthState property returns either WarningFeatureHealthState or ErrorFeatureHealthState. Otherwise this property returns an empty string. |
geometry |
Returns a Point3D object that represents the position of the construction point. The returned geometry is in the AssemblyContext of this ConstructionPoint. |
healthState |
Returns the current health state of this construction point. |
isDeletable |
Indicates if this construction point can be deleted. The base construction point cannot be deleted. |
isLightBulbOn |
Indicates if the light bulb (as displayed in the browser) is on. A construction point will only be visible if it's light bulb, and that of it's containing folder and parent component/s are also on. |
isParametric |
Indicates if the construction point is parametric. |
isValid |
Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
isVisible |
Gets if the construction point is visible. This property is affected by the AssemblyContext of the construction point. |
name |
The name of the construction point as it is displayed in the browser. |
nativeObject |
The NativeObject is the object outside the context of an assembly. Returns null in the case where this object is not in the context of an assembly but is already the native object. |
objectType |
This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.
It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType(): |
parent |
Returns the parent component or base feature. If both the design and the construction point are parametric, the parent will be a component. If the design is parametric and the construction point is not, the parent will be a base feature. If the design is not parametric the parent will be a component. |
timelineObject |
Returns the timeline object associated with this construction point. |