Library | File

Class wfcWLayout

# include <wfcModel.h>

class wfcWLayout
 : public virtual wfcWModel2D,
 : public virtual pfcLayout
{
    xaideclare(wfcWLayout)
    ...
};



Description

  Extends the functionality of pfcLayout

This is the actual type of in Object Toolkit to represent models of pfcMDL_LAYOUT type.
Manual References:
Overview of Creo Object TOOLKIT C++: Casting of Creo Object TOOLKIT C++ pfc Classes to wfc Classes



Method Summary

voidDeclare (pfcModel_ptr Mdl, wfcLayoutDeclareOption Option)
 
voidUndeclare (pfcModel_ptr Mdl, wfcLayoutUndeclareOption Option)
 


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

GetNumberOfSheets, GetCurrentSheetNumber, SetCurrentSheetNumber, AddSheet, ReorderSheet, GetSheetData, GetSheetInfo, GetSheetTransform, RegenerateSheet, DeleteSheet, GetSheetScale, SetSheetScale, GetSheetFormat, SetSheetFormat, GetSheetBackgroundView, GetSheetUnits, GetSheetFormatDescr


Methods Inherited from Class pfcDetailItemOwner:

ListDetailItems, GetDetailItem, CreateDetailItem, CreateFreeNote, CreateOffsetNote, CreateOnItemNote, CreateLeaderNote, RetrieveSymbolDefinition, RetrieveSymbolDefItem, AllowReadonlyNoteSelection


Methods Inherited from Class pfcTableOwner:

ListTables, GetTable, CreateTable, RetrieveTable, RetrieveTableByOrigin, UpdateTables, DeleteTable


Methods Inherited from Class pfcModel2D:

GetTextHeight, SetTextHeight, List2DViews, GetViewByName, GetViewDisplaying, CreateView, SetViewDisplaying, GetCurrentSolid, SetCurrentSolid, ListModels, AddModel, DeleteModel, Regenerate, ReplaceModel, CreateDrawingDimension, ListShownDimensions, CreateDimension, CreateRefDimension, CollectShownDimensions, CollectShownRefDimensions, ListSimplifiedReps, AddSimplifiedRep, DeleteSimplifiedRep


Methods Inherited from Class wfcWModel2D:

SetFormatSize, GetFormatSize, ShowSheetFormat, IsSheetFormatShown, IsSheetFormatBlanked, SetToleranceStandard, GetToleranceStandard, ExpandTree, CollapseTree, RefreshTree, CopyDrawingSheet, GetLocationGridColumnFromPosition, GetLocationGridRowFromPosition, CreateLeaderWithArrowTypeNote



Method Detail

voidDeclare (pfcModel_ptr Mdl, wfcLayoutDeclareOption Option)

 

Exceptions thrown (but not limited to):

pfcXToolkitUserAbort - There was a conflict between the symbols in the notebook and in the object with option wfcLAYOUT_DECLARE_ABORT.

pfcXToolkitDeadLock - There was a circular declaration between the two notebooks.


Manual References:
Models: Custom Checks, Models: Custom Checks
Parameters:
Mdl
 
Option
 
Returns:



voidUndeclare (pfcModel_ptr Mdl, wfcLayoutUndeclareOption Option)

 

Exceptions thrown (but not limited to):

pfcXToolkitCantModify - Cant undeclare the notebook.


Manual References:
Models: Custom Checks
Parameters:
Mdl
 
Option
 
Returns: