Library | File

Class wfcWSolidBody

# include <wfcSolid.h>

class wfcWSolidBody
 : public virtual wfcWModelItem,
 : public virtual pfcSolidBody
{
    xaideclare(wfcWSolidBody)
    ...
};



Description

This class represents a solid body.
Manual References:
Solid Bodies: Creating a Solid Body



Method Summary

pfcMaterial_ptrGetMaterial ()
Get the material of solid body.
voidSetConstruction ()
Set the solid body as construction body.
voidSetDefault ()
Set the solid body as default body.
voidSetMaterial (pfcMaterial_ptr material)
Assigns material to solid body.


Methods Inherited from Class pfcActionSource:

AddActionListener, RemoveActionListener, AddActionListenerWithType


Methods Inherited from Class pfcParent:

GetChild


Methods Inherited from Class pfcParameterOwner:

GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters


Methods Inherited from Class wfcWParameterOwner:

ExportParameterTable, ApplyParameterTableset


Methods Inherited from Class pfcRelationOwner:

DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression


Methods Inherited from Class wfcWRelationOwner:

GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits


Methods Inherited from Class pfcChild:

GetDBParent, GetOId


Methods Inherited from Class pfcModelItem:

GetName, SetName, GetId, GetType


Methods Inherited from Class wfcWModelItem:

DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName


Methods Inherited from Class pfcSolidBody:

GetBodyState, IsConstruction, IsSheetmetal, ListSurfaces, GetOutline, GetDensity, GetMassProperty, GetFeatures



Method Detail

voidSetDefault ()

Set the solid body as default body.

Exceptions thrown (but not limited to):

pfcXToolkitNoChange - The solid body is already default body.


Manual References:
Solid Bodies: Creating a Solid Body, Solid Bodies: Creating a Solid Body
Returns:



voidSetConstruction ()

Set the solid body as construction body.

Exceptions thrown (but not limited to):

pfcXToolkitNoChange - The solid body is already construction body.


Manual References:
Solid Bodies: Creating a Solid Body
Returns:



pfcMaterial_ptrGetMaterial ()

Get the material of solid body.
Manual References:
Solid: Materials, Solid: Materials
Returns:
The material of the body.



voidSetMaterial (pfcMaterial_ptr material)

Assigns material to solid body.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The material is not found in solid.


Manual References:
Solid: Materials
Parameters:
material
Material to assign to body.
Returns: