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.json(*[, include, ...])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"
Generates a JSON schema for a model class.
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.
!!! abstract "Usage Documentation"
Validate the given object with string data against the Pydantic model.
PlacementPinMapping.parse_file(path, *[, ...])PlacementPinMapping.parse_raw(b, *[, ...])PlacementPinMapping.schema([by_alias, ...])PlacementPinMapping.schema_json(*[, ...])PlacementPinMapping.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.