|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
• | WStyleState—Specifies the handle to the style state. |
• | RedisplayFlag—Specifies if the assembly must be displayed to the set display style in the call to the method. If set to True, user must call the required methods to regenerate the assembly. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
• | AllowFixUI—Determines whether or not to activate the Fix Model user interface, if there is an error. Use the method pfcRegenInstructions::SetAllowFixUI to modify this parameter.
|
• | ForceRegen—Forces the solid model to fully regenerate. All the features in the model are regenerated. If this parameter is false, Creo determines which features to regenerate. By default, it is false. Use the method pfcRegenInstructions::SetForceRegen to modify this parameter.
|
• | FromFeat—Not currently used. This parameter is reserved for future use. Use the method pfcRegenInstructions::SetFromFeat to modify this parameter.
|
• | RefreshModelTree—Refreshes the Creo model tree after regeneration. The model must be active to use this attribute. If this attribute is false, the model tree
is not refreshed. By default, it is false. Use the method pfcRegenInstructions::SetRefreshModelTree to modify this parameter.
|
• | ResumeExcludedComponents—Enables Creo to resume the available excluded components of the simplified representation during regeneration. This results in a more
accurate update of the simplified representation. Use the method pfcRegenInstructions::SetResumeExcludedComponents to modify this parameter.
|
• | UpdateAssemblyOnly—Updates the placements of an assembly and all its sub-assemblies, and regenerates the assembly features and intersected parts.
If the affected assembly is retrieved as a simplified representation, then the locations of the components are updated. If
this attribute is false, the component locations are not updated, even if the simplified representation is retrieved. By default,
it is false. Use the method pfcRegenInstructions::SetUpdateAssemblyOnly to modify this parameter.
|
• | UpdateInstances—Updates the instances of the solid model in memory. This may slow down the regeneration process. By default, this attribute
is false. Use the method pfcRegenInstructions::SetUpdateInstances to modify this parameter.
|
• | NoResolveMode—Gets and sets the no resolve mode in a model using the methods wfcWRegenInstructions::GetNoResolveMode and wfcWRegenInstructions::SetNoResolveMode |
• | ResolveMode—Gets and sets the resolve mode in a model using the methods wfcWRegenInstructions::GetResolveMode and wfcWRegenInstructions::SetResolveMode Note
The NoResolveMode and ResolveMode temporarily override the default settings, which control the regeneration behavior in a model.
AllowConfirm—This parameter has been deprecated from Creo Parametric 4.0 M030. Gets and sets the state of regeneration failure window in a model using the methods wfcWRegenInstructions::GetAllowConfirm and wfcWRegenInstructions::SetAllowConfirm
Note
The interactive dialog box which provided an option to retain failed features and children of failed features, if regeneration
fails is no longer supported. Creo Parametric displays a warning message which gives details of failed features.
|
• | UndoIfFail—If possible, gets and sets the undo mode if the regeneration of the model fails using the methods wfcWRegenInstructions::GetUndoIfFail and wfcWRegenInstructions::SetUndoIfFail Note
The AllowConfirm and UndoIfFail cannot be used together and are applicable only when the input parameter is NoResolveMode in a model.
|
• | Saved Views |
• | Layer state |
• | Annotations |
• | Cross section |
• | Exploded view |
• | Simplified representation |
• | Model style |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
• | wfcVIS_OPT_NONE—Specifies that the cross section or zone feature is not clipped. |
• | wfcVIS_OPT_FRONT—Specifies that the cross section or zone feature is clipped by removing the material on the front side. The front side is where the positive normals of the planes of the cross section or zone feature are directed. |
• | wfcVIS_OPT_BACK—Specifies that the cross section or zone feature is clipped by removing the material on the back side. |
• | CombStateName—Specifies the name of the new combined state. |
• | CombStateData —Specifies the combined state data as wfcCombStateData object. |
• | Annotation—Specifies the annotation as a wfcAnnotation object. |
• | Flag—Specifies if the annotation must be displayed in the combined state in terms of the enumerated data type wfcCombStateAnnotationOption. The valid values are:
|
• | Basic Quantities—The basic units and dimensions of the system of units. For example, consider the Centimeter GramSecond (CGS) system of unit. The basic quantities for this system of units are:
|
• | Derived Quantities—The derived units are those that are derived from the basic quantities. For example, consider the Centimeter Gram Second (CGS) system of unit. The derived quantities for this system of unit are as follows:
|
• | Pre-defined system of units—This system of unit is provided by default. |
• | Custom-defined system of units—This system of unit is defined by the user only if the model does not contain standard metric or nonmetric units, or if the material file contains units that cannot be derived from the predefined system of units or both. |
• | Mass Length Time (MLT)—The following systems of units belong to this category:
|
• | Force Length Time (FLT)—The following systems of units belong to this category:
|
|
|
|
|
|
|
|
|
|
|
|
|
• | pfcUNIT_LENGTH—Specifies length measurement units. |
• | pfcUNIT_MASS—Specifies mass measurement units. |
• | pfcUNIT_FORCE—Specifies force measurement units. |
• | pfcUNIT_TIME—Specifies time measurement units. |
• | pfcUNIT_TEMPERATURE—Specifies temperature measurement units. |
• | pfcUNIT_ANGLE—Specifies angle measurement units. |
• | Offset—Specifies the offset value applied to the values in the reference unit. |
• | Scale—Specifies the scale applied to the values in the reference unit to get the value in the actual unit.Example - Consider the formula to convert temperature from Centigrade Note
Creo application scales the length dimensions of the model using the factors listed above. If the scale is modified, the model
is regenerated. When you scale the model, the model units are not changed. Imported geometry cannot be scaled.
|
• | pfcUNIT_SYSTEM_MASS_LENGTH_TIME—Specifies the Mass Length Time (MLT) unit system. |
• | pfcUNIT_SYSTEM_FORCE_LENGTH_TIME—Specifies the Force Length Time (FLT) unit system. |
• | DimensionOption—Use the option while converting the dimensions of the model. Use the method pfcUnitConversionOptions::SetDimensionOption to modify this option.
This option can be of the following types:
|
• | IgnoreParamUnits—This boolean attribute determines whether or not ignore the parameter units. If it is null or true, parameter values and
units do not change when the unit system is changed. If it is false, parameter units are converted according to the rule. Use the method pfcUnitConversionOptions::SetIgnoreParamUnits to modify this attribute.
|
• | The volume. |
• | The surface area. |
• | The density. The density value is 1.0, unless a material has been assigned. |
• | The mass. |
• | The center of gravity (COG). |
• | The inertia matrix. |
• | The inertia tensor. |
• | The inertia about the COG. |
• | The principal moments of inertia (the eigen values of the COG inertia). |
• | The principal axes (the eigenvectors of the COG inertia). |
• | Create or delete materials |
• | Set the current material |
• | Access and modify the material types and properties |
• | By default, while assigning a master material to a sheetmetal part, the method pfcPart::SetCurrentMaterial modifies the values of the sheetmetal properties such as Y factor and bend table according to the material file definition. This modification triggers a regeneration and a modification of the developed length parameters of the sheetmetal part. To prevent this regeneration, set the value of the configuration option material_update_smt_bend_table to never_replace. To trigger a regeneration and a modification of the developed length parameters of the sheetmetal part, set the configuration option material_update_smt_bend_table to always_replace. The default value is always_replace. |
• | The method pfcPart::SetCurrentMaterial may change the model display, if the new material has a default appearance assigned to it. |
• | The method may also change the family table, if the parameter PTC_MASTER_MATERIAL is a part of the family table.
Note
You can still use the legacy parameter PTC_MASTER_MATERIAL, however, these legacy parameters do not appear correctly in calculations and reports when you are working with a part that
uses multiple materials.
|
• | <name>.mtl—Specifies the new material file format. |
• | pfcMTL_ISOTROPIC—Specifies a a material with an infinite number of planes of material symmetry, making the properties equal in all directions. |
• | pfcMTL_ORTHOTROPIC—Specifies a material with symmetry relative to three mutually perpendicular planes. |
• | pfcMTL_TRANSVERSELY_ISOTROPIC—Specifies a material with rotational symmetry about an axis. The properties are equal for all directions in the plane of isotropy. |
• | pfcMTL_FLUID—Specifies a material with fluid properties. |
• | pfcMTL_ISOTROPIC—Specifies a material with an infinite number of planes of material symmetry, making the properties equal in all directions. |
• | pfcMTL_ORTHOTROPIC—Specifies a material with symmetry relative to three mutually perpendicular planes. |
• | pfcMTL_TRANSVERSELY_ISOTROPIC—Specifies a material with rotational symmetry about an axis. The properties are equal for all directions in the plane of isotropy. |
• | pfcMTL_FLUID—Specifies a material with fluid properties. |
• | pfcMTL_ISOTROPIC—Specifies a material with an infinite number of planes of material symmetry, making the properties equal in all directions. |
• | pfcMTL_ORTHOTROPIC—Specifies a material with symmetry relative to three mutually perpendicular planes. |
• | pfcMTL_TRANSVERSELY_ISOTROPIC—Specifies a material with rotational symmetry about an axis. The properties are equal for all directions in the plane of isotropy. |
• | pfcMTL_FLUID—Specifies a material with fluid properties. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|