Creo Simulate Shells
Shells are used to model a thin layer of a defined thickness for a specified part. If the part is relatively thin compared to its length and width, use of shell modeling is more efficient.
The functions described in this section provide read and write access to the data and contents of the Creo Simulate shell objects. Shells use the ProType field in the ProMechitem structure as PRO_SIMULATION_SHELL.
Functions Introduced:
• ProMechshellTypeGet()
• ProMechshellMaterialGet()
• ProMechshellMaterialIdGet()
• ProMechshellMaterialIdSet()
• ProMechshellReferencesGet()
• ProMechshellReferencesSet()
• ProMechshellSimpledataGet()
• ProMechshellSimpledataSet()
• ProMechshellAdvanceddataGet()
• ProMechshellAdvanceddataSet()
• ProMechshellsimpleAlloc()
• ProMechshellsimpleThicknessGet()
• ProMechshellsimpleThicknessSet()
• ProMechshellsimpleFree()
• ProMechshelladvancedAlloc()
• ProMechshelladvancedMaterialorientGet()
• ProMechshelladvancedMaterialorientSet()
• ProMechshelladvancedShellpropsGet()
• ProMechshelladvancedShellpropsSet()
• ProMechshelladvancedFree()
The function ProMechshellTypeGet() returns the shell types. You can define the following types of shells:
• PRO_MECH_SHELL_SIMPLE—Specifies a simple shell of uniform thickness. Use the function ProMechshellSimpledataGet() to access the data structure for the simple shell. Use the function ProMechshellSimpledataSet() to modify the data structure for the simple shell.
• PRO_MECH_SHELL_ADVANCED—Specifies an advanced shell that uses specified shell properties. Use the function ProMechshellAdvanceddataGet() to access the data structure for the advanced shells. Use the function ProMechshellAdvanceddataSet() to modify the data structure for the advanced shell.
The function ProMechshellMaterialGet() returns the material defined for the shell.
Use the function ProMechshellMaterialIdSet() to set the material id for the shell.
The function ProMechshellReferencesGet() returns the surfaces associated with the shell. Use the function ProMechshellReferencesSet() to set the references for the shell.
The function ProMechshellsimpleThicknessGet() returns the value of the thickness for the shell. Use the function ProMechshellsimpleThicknessSet() to set value of the thickness of the shell.
The function ProMechshelladvancedMaterialorientGet() returns the material orientations assigned to the advanced shell. Use the function ProMechshelladvancedMaterialorientSet() to set the material orientation for the advanced shell.
The function ProMechshelladvancedShellpropsGet() returns the shell properties associated with the model. Use the function ProMechshelladvancedShellpropsSet() to set the shell properties associated with the model.