Library | Package Java Toolkit

Interface WSolidBody

package com.ptc.wfc.wfcSolid;

public interface WSolidBody
  extends com.ptc.wfc.wfcModelItem.WModelItem,
          com.ptc.pfc.pfcSolid.SolidBody



Description

This class represents a solid body.



Method Summary
MaterialGetMaterial ()
    Get the material of solid body.
voidSetConstruction ()
    Set the solid body as construction body.
voidSetDefault ()
    Set the solid body as default body.
voidSetMaterial (Material material)
    Assigns material to solid body.

Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource
AddActionListener, RemoveActionListener, AddActionListenerWithType

Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent
GetChild

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner
GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WParameterOwner
ExportParameterTable, ApplyParameterTableset, MathcadParametersSet, MathcadInputParametersGet

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner
DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WRelationOwner
GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits

Methods Inherited from Interface com.ptc.pfc.pfcObject.Child
GetDBParent, GetOId

Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItem
GetName, SetName, GetId, GetType

Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WModelItem
DeleteUserDefinedName, Unhide, Hide, IsHidden, IsNameReadOnly, IsZoneFeature, GetDefaultName

Methods Inherited from Interface com.ptc.pfc.pfcSolid.SolidBody
GetBodyState, IsConstruction, IsSheetmetal, ListSurfaces, GetOutline, GetDensity, GetMassProperty, GetFeatures

Method Detail

SetDefault

voidSetDefault ()


    Set the solid body as default body.

Exceptions thrown (but not limited to):

XToolkitNoChange - The solid body is already default body.


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


SetConstruction

voidSetConstruction ()


    Set the solid body as construction body.

Exceptions thrown (but not limited to):

XToolkitNoChange - The solid body is already construction body.


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


GetMaterial

MaterialGetMaterial ()


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


SetMaterial

voidSetMaterial (Material material)


    Assigns material to solid body.

Exceptions thrown (but not limited to):

XToolkitNotFound - The material is not found in solid.


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