PlacementPinMapping#

class ansys.aedt.core.modeler.advanced_cad.mcad_assembly.PlacementPinMapping(*, reference_designator: str | None = None, pin_1_loc: tuple[str | int | float, str | int | float, str | int | float] | None = None, pin_2_loc: tuple[str | int | float, str | int | float, str | int | float] | None = None)#

Store placement pin mapping information for a component.

Methods

PlacementPinMapping.construct([_fields_set])

PlacementPinMapping.copy(*[, include, ...])

Returns a copy of the model.

PlacementPinMapping.dict(*[, include, ...])

PlacementPinMapping.from_orm(obj)

PlacementPinMapping.json(*[, include, ...])

PlacementPinMapping.model_construct([...])

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

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

!!! abstract "Usage Documentation"

PlacementPinMapping.model_dump(*[, mode, ...])

!!! abstract "Usage Documentation"

PlacementPinMapping.model_dump_json(*[, ...])

!!! abstract "Usage Documentation"

PlacementPinMapping.model_json_schema(...)

Generates a JSON schema for a model class.

PlacementPinMapping.model_parametrized_name(params)

Compute the class name for parametrizations of generic classes.

PlacementPinMapping.model_post_init(context, /)

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

PlacementPinMapping.model_rebuild(*[, ...])

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

PlacementPinMapping.model_validate(obj, *[, ...])

Validate a pydantic model instance.

PlacementPinMapping.model_validate_json(...)

!!! abstract "Usage Documentation"

PlacementPinMapping.model_validate_strings(obj, *)

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

PlacementPinMapping.parse_file(path, *[, ...])

PlacementPinMapping.parse_obj(obj)

PlacementPinMapping.parse_raw(b, *[, ...])

PlacementPinMapping.schema([by_alias, ...])

PlacementPinMapping.schema_json(*[, ...])

PlacementPinMapping.update_forward_refs(...)

PlacementPinMapping.validate(value)

Attributes

PlacementPinMapping.model_computed_fields

PlacementPinMapping.model_config

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

PlacementPinMapping.model_extra

Get extra fields set during validation.

PlacementPinMapping.model_fields

PlacementPinMapping.model_fields_set

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

PlacementPinMapping.reference_designator

PlacementPinMapping.pin_1_loc

PlacementPinMapping.pin_2_loc