
This functionality is provided as a preview
of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the
Fusion API and Scripts forum.
Because this is a preview of future functionality, there is the possibility that it will change, which will possibly
break any existing programs that use this functionality. Because of that, you should never deliver any programs that use
any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.
Defines the input properties required for creating a three-bend corner closure feature. This input definition provides a structured way to organize and validate the parameters before passing them to the setThreeBendCornerClosure method.
| 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 |
| isTemporary | Specifies if this CornerClosureDefinition is associated with an CornerClosureFeatureInput or a CornerClosureFeature. Returns true when associated with an input object, which means the persistent corner closure feature has not yet been created. |
| isUseSheetMetalRuleDefaults | Specifies if the defaults from the sheet metal rules should be used for this corner closure. When this is set to true, the relief shape and relief size will be determined based on the sheet metal rule. When this is set to false, the relief shape and relief size can be manually specified using the reliefShape and reliefSizeValue properties. The default value is true. |
| 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(): |
| reliefRadius | Returns the parameter that controls the relief radius. This property is only valid when the reliefShape property is RoundWithRadiusCornerThreeBendReliefShapeType, the isTemporary property returns false and the isUseSheetMetalRuleDefaults is false. Otherwise, this property will return null. When the isTemporary property is true, uses the reliefRadiusValue property to get and set the relief radius. |
| reliefRadiusValue | Gets and sets the relief radius of the three-bend corner. This is only applicable when the isUseSheetMetalRuleDefaults property is false. When isUseSheetMetalRuleDefaults is true, the radius value is determined based on the sheet metal rule and the value of this property will be ignored. The relief radius is only used when the relief shape is RoundWithRadiusCornerThreeBendReliefShapeType. |
| reliefShape | Gets and sets the geometric shape used to relieve stress at the corner where three bends meet. This is only applicable when the isUseSheetMetalRuleDefaults property is false. When isUseSheetMetalRuleDefaults is true, the relief shape is determined based on the sheet metal rule and the value of this property will be ignored. When isUseSheetMetalRuleDefaults is set to false, this property defaults to RoundWithRadiusCornerThreeBendReliefShapeType. To set this property when the isTemporary property returns false, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True) |