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.
Defined in namespace "adsk::fusion" and the header file is <Fusion/SheetMetal/TwoBendCornerOverride.h>
Description
Gets and sets the two-bend corner placement. Setting has no effect unless isOverridden is true and the current shape is Round or Square; placement is ignored for all other shapes. Getting returns the current placement value regardless of whether it is meaningful for the current shape.
To set this property, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(true)
// Get the value of the property. TwoBendCornerOverridePlacements propertyValue = twoBendCornerOverride_var->placement();
// Set the value of the property, where value_var is a TwoBendCornerOverridePlacements. bool returnValue = twoBendCornerOverride_var->placement(value_var);
"twoBendCornerOverride_var" Is a variable referencing a TwoBendCornerOverride Object.
// Get the value of the property. propertyValue = twoBendCornerOverride_var.placement;
// Set the value of the property. twoBendCornerOverride_var.placement = propertyValue;