Creates a new plastic rule by copying an existing rule. The new rule can then be edited to define the rule characteristics you want.
"plasticRules_var" is a variable referencing a PlasticRules object.
|
"plasticRules_var" is a variable referencing a PlasticRules object.
|
Type | Description |
PlasticRule | Returns the new PlasticRule object or will assert in the case where it fails. |
Name | Type | Description |
existingPlasticRule | PlasticRule | The existing PlasticRule object you want to copy. This can be a rule from the library or the design. |
name | string | The name to assign to the new plastic rule. This name must be unique with respect to other plastic rules in the design or library it's created in. |