update_definition#
- UserDefinedComponent.update_definition(password: str = None, output_file: str = '', local_update: bool = False) bool#
Update 3d component definition.
- Parameters:
- password
str,optional Password for encrypted models. The default value is
None.- output_file
str,optional New path containing the 3d component file. The default value is
"", which means that the 3d component file has not changed.- local_updatebool,
optional Whether to update the file only locally. Default is
False.
- password
- Returns:
- bool
True if successful.
Examples
>>> from ansys.aedt.core.modeler.cad.components_3d import UserDefinedComponent >>> obj = UserDefinedComponent() >>> obj.update_definition(password=1, output_file="example.txt")