Library | File

Class wfcWPart

# include <wfcPart.h>

class wfcWPart
 : public virtual wfcWSolid,
 : public virtual pfcPart
{
    xaideclare(wfcWPart)
    ...
};



Description

Provides the information about the Part Model.
Manual References:
Overview of Creo Object TOOLKIT C++: Casting of Creo Object TOOLKIT C++ pfc Classes to wfc Classes
Direct Known Subclasses:
wfcHarness



Method Summary

pfcSelections_ptrFindGeometry (pfcPoint3D_ptr Point)
Determines the surfaces or edges on which the specified point is located. If a point lies on an edge, the function does not return the neighboring surfaces
xrealGetDensity ()
Determines the density of the part.
wfcInterfaceData_ptrGetInterfaceData (wfcConversionOptions_ptr ConversionOptions)
Provides the interface data for the model.
wfcVolumeSurfaceInfo_ptrGetVolumeInfo ()
Analyzes and returns the number of connect volumes of a part, and the surfaces that bound them.
voidSetDensity (xreal value)
Sets the density of the part.


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 pfcModelItemOwner:

GetItemByName, GetItemById, ListItems


Methods Inherited from Class pfcViewOwner:

RetrieveView, GetView, SaveView, GetCurrentViewTransform, SetCurrentViewTransform, CurrentViewRotate, ListViews, GetCurrentView


Methods Inherited from Class pfcChild:

GetDBParent, GetOId


Methods Inherited from Class pfcModel:

GetDescr, GetRelationId, GetIsModified, GetVersionStamp, GetRevision, GetVersion, GetBranch, GetReleaseLevel, GetCommonName, SetCommonName, IsCommonNameModifiable, GetFullName, GetInstanceName, GetGenericName, GetType, GetFileName, Backup, Copy, CopyAndRetrieve, Rename, Save, Erase, EraseWithDependencies, Delete, Display, DisplayInNewWindow, ListDependencies, ListDeclaredModels, CreateLayer, Export, Import, AccessExternalData, TerminateExternalData, CheckIsSaveAllowed, CheckIsModifiable, GetOrigin, GetPostRegenerationRelations, SetPostRegenerationRelations, RegeneratePostRegenerationRelations, DeletePostRegenerationRelations, CleanupDependencies, IsNativeModel, ExportIntf3D, SetIntf3DLayerSetupFile, IsIntf3DLayerSetupFileIgnored, IsIntf3DCsysIgnored, ClearIntf3DModelData


Methods Inherited from Class wfcWModel:

VerifyATB, MarkATBModelAsOutOfDate, UpdateATB, RelinkATB, GetAnnotationPlanesFromGallery, GetAnnotationPlanes, GetAnnotationPlaneByName, AddAnnotationPlaneToGallery, RemoveAnnotationPlaneFromGallery, GetActiveAnnotationPlane, GetTIMInfo, ConvertOldXSectionsToNew, CanCreateSectionFeature, ListLayers, SaveLayerDisplayStatus, GetLayerItem, GetSubType, GetDefaultName, IsVariantFeatModel, CreateUnitByExpression, ComputeRayIntersections, CollectParamTablesets, GenerateSelectionsFromCollection, MarkForSaving, RefreshMdlTree, GetMdlfileDescriptor, IsStandardLocation, DesignateSymbol, UndesignateSymbol, IsDesignatedSymbol, VisitItems, VisitDetailItems, CreateSurfaceFinish, CreateGTol, CreateSetDatumTag, MatchLayerRules, CopyLayerRules, ExecuteLayerRules


Methods Inherited from Class pfcFamilyMember:

GetParent, GetImmediateGenericInfo, GetTopGenericInfo, ListColumns, ListRows, GetCell, SetCell, GetCellIsDefault, AddRow, GetRow, RemoveRow, AddColumn, RemoveColumn, GetColumn, CreateColumn, CreateParamColumn, CreateDimensionColumn, CreateFeatureColumn, CreateComponentColumn, CreateCompModelColumn, CreateGroupColumn, CreateMergePartColumn, CreateTolPlusColumn, CreateTolMinusColumn, CreateTolPlusMinusColumn


Methods Inherited from Class wfcWFamilyMember:

SelectRows, GetFamilyTableStatus, IsModifiable, EditFamilyTable, EraseFamilyTable, ShowFamilyTable


Methods Inherited from Class pfcSolid:

GetDefaultBody, GetSurfaceSolidBody, GetEdgeSolidBody, GetGeomOutline, GetRelativeAccuracy, SetRelativeAccuracy, GetAbsoluteAccuracy, SetAbsoluteAccuracy, Regenerate, ExecuteFeatureOps, EvalOutline, CreateLocalGroup, CreateNote, ListFailedFeatures, ListFeaturesByType, ListCrossSections, GetCrossSection, GetIsSkeleton, HasRetrievalErrors, GetFeatureByName, GetFeatureById, CreateImportFeat, ActivateSimpRep, GetActiveSimpRep, CreateSimpRep, SelectSimpRep, GetSimpRep, GetMasterRep, GetGraphicsRep, GetGeomRep, DeleteSimpRep, GetMassProperty, GetMassPropertyWithDensity, ListGroups, CreateFeature, CreateUDFGroup, ExportShrinkwrap, GetPrincipalUnits, SetPrincipalUnits, ListUnits, ListUnitSystems, GetUnit, CreateCustomUnit, CreateUnitSystem


Methods Inherited from Class wfcWSolid:

CreateBody, DeleteBody, GetIsNoResolveMode, WRegenerate, ListChildOfFailedFeatures, ListChildOfExternalFailedFeatures, GetSolidFeatureStatusFlags, WCreateFeature, DeleteFeatures, SuppressFeatures, ResumeFeatures, ReorderFeatures, ImportAsFeat, QuickPrint, CollectCurves, CollectSurfaces, CreatePlanarXSection, CreatePlanarXSectionWithOptions, ListDetailItems, UpdateActiveLayerState, CreateParallelXSection, ListCombStates, GetActiveCombState, ActivateCombState, CreateCombState, DeleteCombState, GetAnnotationsOfActiveState, GetStyleStateFromName, GetStyleStateFromId, GetActiveStyleState, ActivateStyleState, ListStyleStateItems, ListLayerStates, CreateLayerState, GetActiveLayerState, GetTolerance, SetTolerance, LoadToleranceClass, GetModelClass, SetModelClass, CheckFamilyTable, DisplaySolid, GetDefaultTextHeight, FindShellsAndVoids, ProjectPoint, GetDisplayOutline, GetAxis, GetCurve, GetCsys, GetEdge, GetPoint, GetQuilt, CreateZoneSectionFeature, GetAllAppearancesAndTextures, CreateDimension, CreateRefDimension, RefreshDetailTree, ExpandDetailTree, CollapseDetailTree, CreateFlatToScreenPlane, CreateAnnotationPlaneFromView, CreateFreeNote, CreateOnItemNote, CreateLeaderNote, CreateLeaderWithArrowTypeNote, RetrieveSymbolDefItem, CreateAnnotationFeature, CreateSymbolDefinition, CreateSymbolInstance, CreateOrdinateDimension, Tessellate, CreateCustomFeature, ActivateAutomaticSimpRep, ConvertAutomaticSimpRep


Methods Inherited from Class pfcPart:

GetCurrentMaterial, SetCurrentMaterial, ListMaterials, CreateMaterial, RetrieveMaterial, GetMaterial



Method Detail

xrealGetDensity ()

Determines the density of the part.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The part has not been assigned a density value.


Manual References:
Solid: Part Properties, Solid: Part Properties
Returns:
 



voidSetDensity (xreal value)

Sets the density of the part.
Manual References:
Solid: Part Properties
Parameters:
value
The part density (in the units of the model).
Returns:



wfcVolumeSurfaceInfo_ptrGetVolumeInfo ()

Analyzes and returns the number of connect volumes of a part, and the surfaces that bound them.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The specified volume was not found.


Manual References:
Geometry Evaluation: Geometry of Surfaces, Geometry Evaluation: Geometry of Surfaces
Returns:
VolumeSurfaceInfo



pfcSelections_ptrFindGeometry (pfcPoint3D_ptr Point)

Determines the surfaces or edges on which the specified point is located. If a point lies on an edge, the function does not return the neighboring surfaces

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - The surface or edge was not found.


Manual References:
Geometry Evaluation: Geometry of Points, Geometry Evaluation: Geometry of Points
Parameters:
Point
Input point pfcPoint3D
Returns:
Returns sequence of pfcSelections



wfcInterfaceData_ptrGetInterfaceData (wfcConversionOptions_ptr ConversionOptions)

Provides the interface data for the model.

Exceptions thrown (but not limited to):

pfcXToolkitOutOfMemory - Insufficient memory.


Manual References:
Interface: Extracting Geometry as Interface Data, Interface: Extracting Geometry as Interface Data
Parameters:
ConversionOptions
The options for the conversion.
Returns: