PartLink
#
- class ansys.speos.core.kernel.part.PartLink(db, key)#
Bases:
ansys.speos.core.kernel.crud.CrudItem
Link object for a part in database.
- Parameters:
- db
ansys.speos.core.kernel.part.PartStub
Database to link to.
- key
str
Key of the part in the database.
- db
- Parameters:
key (str)
Overview#
Import detail#
from ansys.speos.core.kernel.part import PartLink
Method detail#
- PartLink.__str__()#
Return the string representation of the part.
- PartLink.get()#
Get the datamodel from database.
- Returns:
part.Part
Part datamodel.
- PartLink.set(data)#
Change datamodel in database.
- Parameters:
- data
part.Part
New part datamodel.
- data
- PartLink.delete()#
Remove datamodel from database.