User's Guide > Solid > Solid
Solid
Most of the objects and methods in Creo.JS are used with solid models such as parts and assemblies. Because solid objects inherit from the interface pfcModel, you can use any of the pfcModel methods on any pfcSolid, pfcPart, or pfcAssembly object.
Getting a Solid Object
Methods and Properties Introduced:
The methods pfcBaseSession.CreatePart() and pfcBaseSession.CreateAssembly() create new solid models with the names you specify.
The properties pfcComponentPath.Root and pfcComponentPath.Leaf specify the solid objects that make up the component path of an assembly component model. You can get a component path object from any component that has been interactively selected.
The method pfcMFG.GetSolid() retrieves the storage solid in which the features of the manufacturing model are placed. To create a UDF group in the manufacturing model, call the method pfcSolid.CreateUDFGroup() on the storage solid.
Was this helpful?