Arrange#

class ansys.aedt.core.modeler.advanced_cad.mcad_assembly.Arrange(*, operation: ~typing.Literal['move', 'rotate'], axis: str | None = 'X', angle: str | None = '0deg', vector: ~typing.Sequence[str | int | float] | None = <factory>)#

Define a transformation applied while assembling a component.

Methods

Arrange.construct([_fields_set])

Arrange.copy(*[, include, exclude, update, deep])

Returns a copy of the model.

Arrange.dict(*[, include, exclude, ...])

Arrange.from_orm(obj)

Arrange.json(*[, include, exclude, ...])

Arrange.model_construct([_fields_set])

Creates a new instance of the Model class with validated data.

Arrange.model_copy(*[, update, deep])

!!! abstract "Usage Documentation"

Arrange.model_dump(*[, mode, include, ...])

!!! abstract "Usage Documentation"

Arrange.model_dump_json(*[, indent, ...])

!!! abstract "Usage Documentation"

Arrange.model_json_schema(by_alias, ...)

Generates a JSON schema for a model class.

Arrange.model_parametrized_name(params)

Compute the class name for parametrizations of generic classes.

Arrange.model_post_init(context, /)

Override this method to perform additional initialization after __init__ and model_construct.

Arrange.model_rebuild(*[, force, ...])

Try to rebuild the pydantic-core schema for the model.

Arrange.model_validate(obj, *[, strict, ...])

Validate a pydantic model instance.

Arrange.model_validate_json(json_data, *[, ...])

!!! abstract "Usage Documentation"

Arrange.model_validate_strings(obj, *[, ...])

Validate the given object with string data against the Pydantic model.

Arrange.parse_file(path, *[, content_type, ...])

Arrange.parse_obj(obj)

Arrange.parse_raw(b, *[, content_type, ...])

Arrange.schema([by_alias, ref_template])

Arrange.schema_json(*[, by_alias, ref_template])

Arrange.update_forward_refs(**localns)

Arrange.validate(value)

Attributes

Arrange.model_computed_fields

Arrange.model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Arrange.model_extra

Get extra fields set during validation.

Arrange.model_fields

Arrange.model_fields_set

Returns the set of fields that have been explicitly set on this model instance.

Arrange.operation

Arrange.axis

Arrange.angle

Arrange.vector