Provides access to all of the settings available when creating a draft analysis. This object is the API equivalent of the command dialog that contains the inputs to create a draft analysis. Use this object to define the settings you need and then pass this into the add method to create the analysis.
| Name | Description |
| classType |
Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType(). |
| Name | Description |
| directionEntity | A property that gets and sets the entity that defines the pull direction used by the analysis. Valid entities are a planar, cylindrical, or conical BRepFace, a linear BRepEdge, a ConstructionPlane, or a ConstructionAxis. The analysis stores a persistent reference to this entity. When getting this property, the reference is resolved to the corresponding live object in the current design state. The entity is only available if the timeline marker is at or after the feature that created it. |
| draftAngleNegative | A property that gets and sets the negative draft angle in radians. This is the lower value of the draft angle range shown in the command dialog. Valid values are from -15 to 15 degrees. This property defaults to -2 degrees when the input is created. |
| draftAnglePositive | A property that gets and sets the positive draft angle in radians. This is the upper value of the draft angle range shown in the command dialog. Valid values are from -15 to 15 degrees. This property defaults to 2 degrees when the input is created. |
| inputEntities | A property that gets and sets the entities to analyze. Valid entities are solid and surface BRepBody objects, T-Spline surface bodies, and mesh bodies. The analysis stores persistent references to the entities. When getting this property, the references are resolved to the corresponding live objects in the current design state. Entities are only available if the timeline marker is at or after the feature that created them. Draft analyses are not timeline features and do not have a timeline position. |
| isHighQuality | A property that gets and sets if the analysis is displayed using higher quality rendering. This property defaults to false when the input is created. |
| isToleranceShown | A property that gets and sets if a tolerance zone is displayed around the draft angles. This property defaults to true when the input is created. |
| isValid | Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference. |
| 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(): |
| opacity | A property that gets and sets the opacity of the analysis as an integer in the range of 0 to 100, where 100 is fully opaque. This property defaults to 100 when the input is created. |
| toleranceAngleNegative | A property that gets and sets the negative tolerance angle in radians that is added to the negative draft angle to define the tolerance zone. Valid values are from -5 to 5 degrees. This property defaults to -0.5 degrees when the input is created and is only used when isToleranceShown is true. |
| toleranceAnglePositive | A property that gets and sets the positive tolerance angle in radians that is added to the positive draft angle to define the tolerance zone. Valid values are from -5 to 5 degrees. This property defaults to 0.5 degrees when the input is created and is only used when isToleranceShown is true. |