CoordinateSystem#
- class ansys.aedt.core.modeler.advanced_cad.mcad_assembly.CoordinateSystem(*, origin: list[str] | None = <factory>, reference_coordinate_system: str | None = 'Global', name: str | None = None)#
Define a coordinate system entry for an MCAD assembly.
Methods
CoordinateSystem.construct([_fields_set])CoordinateSystem.copy(*[, include, exclude, ...])Returns a copy of the model.
CoordinateSystem.dict(*[, include, exclude, ...])CoordinateSystem.json(*[, include, exclude, ...])CoordinateSystem.model_construct([_fields_set])Creates a new instance of the Model class with validated data.
CoordinateSystem.model_copy(*[, update, deep])!!! abstract "Usage Documentation"
CoordinateSystem.model_dump(*[, mode, ...])!!! abstract "Usage Documentation"
CoordinateSystem.model_dump_json(*[, ...])!!! abstract "Usage Documentation"
CoordinateSystem.model_json_schema(by_alias, ...)Generates a JSON schema for a model class.
Compute the class name for parametrizations of generic classes.
CoordinateSystem.model_post_init(context, /)Override this method to perform additional initialization after __init__ and model_construct.
CoordinateSystem.model_rebuild(*[, force, ...])Try to rebuild the pydantic-core schema for the model.
CoordinateSystem.model_validate(obj, *[, ...])Validate a pydantic model instance.
CoordinateSystem.model_validate_json(...[, ...])!!! abstract "Usage Documentation"
Validate the given object with string data against the Pydantic model.
CoordinateSystem.parse_file(path, *[, ...])CoordinateSystem.parse_raw(b, *[, ...])CoordinateSystem.schema([by_alias, ref_template])CoordinateSystem.schema_json(*[, by_alias, ...])CoordinateSystem.update_forward_refs(**localns)CoordinateSystem.validate(value)Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Get extra fields set during validation.
Returns the set of fields that have been explicitly set on this model instance.