![]() |
Assemblies And Instances |
<<< Transformations | Chapters | Reading and Writing Parasolid Data >>> |
Assemblies and instances in the PK are primarily provided to enable applications to transfer assembly information via Parasolid transmit files. It is not intended to provide complex assembly modeling capability in Parasolid.
See Chapter 100, “Archives”, for further information about Parasolid transmit files.
An assembly is a collection of instances of parts (parts are bodies or assemblies):
An instance is a pointer to a part contained within an assembly:
A transform positions a part in the coordinate frame of an assembly:
A Parasolid transmit file (part file) contains one or more non-instanced parts, together with all their sub-parts, down to the bodies at the bottom level. These assembly graphs are disjoint, i.e. they have no common parts.
The system-defined name attribute (SDL/TYSA_NAME) may be used by applications wishing to attach a textual name to identify parts in a part file. Alternatively, the entity ids of the instances may be used to reference particular instances in a part file.
The following functions can be used to create, modify and request information about assemblies.
creates an instance, given a standard form containing assembly, transform and part |
|
Creates a new one-level assembly which is a flattened version of the given assembly. The new assembly contains new instances and transforms, but instances existing parts. There is one instance in the new assembly, for each path from the given assembly down to a body at the bottom level of the assembly graph.
Most PK_ENTITY functions apply to assemblies and instances. In particular:
This function may be used to copy an assembly, in which case its instances and transforms are copied, but not the parts it instances.
It may also be used to copy an instance, in which case only the instance and its transform is copied.
Deleting an assembly deletes its instances and transforms, but not the instanced parts.
Deleting an instance deletes its transform but not the part it instances.
<<< Transformations | Chapters | Reading and Writing Parasolid Data >>> |