update_udp#

Modeler2D.update_udp(assignment, operation, parameters)#

Update an existing geometrical object that was originally created using a user-defined primitive (UDP).

Parameters:
assignmentstr

Name of the object to update.

operationstr

Name of the operation used to create the object.

parameterslist

List of the UDP parameters to update and their value.

Returns:
bool

True when successful.

References

>>> oEditor.CreateUserDefinedPart

Examples

>>> self.aedtapp.modeler.update_udp(
...     assignment="ClawPoleCore",
...     operation="CreateUserDefinedPart",
...     parameters=[["Length", "110mm"], ["DiaGap", "125mm"]],
... )
True