PlasticRule.parentDesign Property

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

Description

Returns the parent design for a plastic rule in a design or it returns null if the plastic rule is in the library.

Syntax

"plasticRule_var" is a variable referencing a PlasticRule object.

# Get the value of the property.
propertyValue = plasticRule_var.parentDesign
"plasticRule_var" is a variable referencing a PlasticRule object.
#include <Fusion/Plastic/PlasticRule.h>

// Get the value of the property.
Ptr<Design> propertyValue = plasticRule_var->parentDesign();

Property Value

This is a read only property whose value is a Design.

Version

Introduced in version January 2024