FemPart Class¶
-
class
NXOpen.CAE.
FemPart
¶ Bases:
NXOpen.CAE.BaseFemPart
Represents an NX part of type .fem.
Use the
NXOpen.PartCollection
class to load or create a part.New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
AssociatedCadPart | Returns the cad part associated with the fem part. |
BaseFEModel | Returns the femodel NXOpen.CAE.BaseFEModel associated with the part |
ComponentAssembly | Returns the component assembly. |
Displayed | Returns true if the part represents a displayed part. |
FieldManager | Returns the field main. |
FullPath | Returns the full path of the part. |
FullPathForAssociatedCadPart | Returns the full pathname of the associated cad part |
HasWriteAccess | Returns the write-access status of a part independent of the load state. |
IdealizedPart | Returns the idealized part associated with the fem part |
IsFullyLoaded | Returns the load status of a part. |
IsOccurrence | Returns whether this object is an occurrence or not. |
IsReadOnly | Returns the read-only status of a part. |
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
Leaf | Returns the leaf name of the part. |
MasterCadPart | Returns the master cad part associated with the fem part |
Name | Returns the custom name of the object. |
OwningComponent | Returns the owning component, if this object is an occurrence. |
OwningPart | Returns the owning part of this object |
PartPreviewMode | Returns or sets the preview mode |
PartUnits | Returns the units of the part file. |
Prototype | Returns the prototype of this object if it is an occurrence. |
SaveDisplayFacets | Returns or sets whether display quality facets are saved in the part file |
Tag | Returns the Tag for this object. |
UniqueIdentifier | Returns or sets the unique identifier for this part used to determine whether parts can be quietly substituted during part open. |
UseCyclicSymmetryCsys | Returns the use cyclic symmetry csys flag |
CadModeling | Returns the CADModeling instance belonging to this part |
MeshPoints | Returns the meshpoint collector collection belonging to the part |
PolygonGeometryMgr | Returns the geometry recipe collection belonging to this fem part |
Methods¶
Method | Description |
---|---|
AssignPermanentName | Saves a temporary part with the given name. |
BodiesRecreateNew | RECREATE NEW on polygon bodies |
BodiesRecreateUpdate | RECREATE UPDATE on polygon bodies |
BodyDelete | DELETE on polygon body given an underlying solid body |
BodyRecreateNew | RECREATE NEW on polygon body |
BodyRecreateUpdate | RECREATE UPDATE on polygon body |
CanBeDisplayPart | Returns true if the part can be displayed and false if not displayed. |
Close | Closes an open part. |
CompleteStructure | Make additions necessary to complete the incomplete assembly structure of the input part |
CreateAttributeIterator | Create an attribute iterator |
CreateConvertToConvergentBodyBuilder | Creates a NXOpen.CAE.ConvertToConvergentBodyBuilder |
CreateDynamicSectionBuilder | Creates a NXOpen.Display.DynamicSectionBuilder The base part must be a displayable part, otherwise an exception will be thrown. |
CreateEdgeSticherBuilder | Creates a NXOpen.CAE.EdgeSticherBuilder |
CreateEffectivityConditionBuilder | Creates a NXOpen.EffectivityConditionBuilder |
CreateFacetSettingsBuilder | Creates a builder for the Facet Settings dialog |
CreateGatewayGroupBuilder | Creates a Groups builder |
CreateModelDisplayBuilder | Creates a builder for model display controls command |
CreatePerspectiveOptionsBuilder | Creates a builder for the Perspective Options dialog |
CreatePolygonBody | CREATE POLYGON BODY on excluded ug tag |
CreateReferenceSet | Creates a NXOpen.ReferenceSet object |
CreateSolverAppendOption | Returns a solver append option object for importing the solver specific data into an existing NXOpen.CAE.FemPart or NXOpen.CAE.SimPart . |
CreateUnStitchEdgeBuilder | Creates a NXOpen.CAE.UnStitchEdgeBuilder |
DeleteAllAttributesByType | Deletes all attributes of a specific type. |
DeleteAttributeByTypeAndTitle | Deletes an attribute by type and title. |
DeleteReferenceSet | Deletes a NXOpen.ReferenceSet object |
DeleteSolverAppendOption | Deletes a solver append option object for importing the solver specific data into an existing NXOpen.CAE.FemPart or NXOpen.CAE.SimPart . |
DeleteUserAttribute | Deletes the first attribute encountered with the given Type, Title. |
DeleteUserAttributes | Deletes the attributes on the object, if any, that satisfy the given iterator |
ExportJt | Exports JT file |
ExportSimulation | Exports the Simulation data for a NXOpen.CAE.CaePart . |
FinalizeCreation | Finalizes the creation of the fem part file. |
FinalizeCreationManaged | Finalizes the creation of the fem part file while in managed mode (Teamcenter). |
FindObject | Finds the NXOpen.NXObject with the given identifier as recorded in a journal. |
GetAbstractionType | Gets axisymmetric abstraction type assoicated with the BaseFem part |
GetAllReferenceSets | Get all the NXOpen.ReferenceSet objects in this part. |
GetApplication | Get the application which corresponds to the specified type. |
GetArrangements | Outputs the NXOpen.Assemblies.Arrangement objects within the given part. |
GetAttributeTitlesByType | Gets all the attribute titles of a specific type. |
GetBooleanUserAttribute | Gets a boolean attribute by Title and array Index. |
GetCollaborativeContentType | The collaborative content type of this part. |
GetComputationalTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetCsysFlattenedLabel | Gets the resolved label of csys in cae part. |
GetCyclicSymmetryCsys | Gets the cyclic symmetry csys associated to the fem |
GetDescription | Gets the description assoicated with the Cae part |
GetEnableMeshMorph | Gets the enable mesh morphing flag |
GetGeometryData | Gets geometry data associated with the fem part |
GetHistoryInformation | Get history of part |
GetIncompleteStatus | Inquire whether the provided part is flagged as being incomplete |
GetIntegerAttribute | Gets an integer attribute by title. |
GetIntegerUserAttribute | Gets an integer attribute by Title and array Index. |
GetMakeUniqueName | Gets the Unique name on a part for the Make Unique operation |
GetMeshPreferences | Returns the mesh preferences data associated with the fem part |
GetNextUserAttribute | Gets the next attribute encountered on the object, if any, that satisfies the given iterator. |
GetPdmReferenceAttributeValue | Gets the value of PDM Reference attribute for given object. |
GetPreviewImage | Get the preview image This will return the graphic preview image of the part (when available). |
GetRealAttribute | Gets a real attribute by title. |
GetRealUserAttribute | Gets a real attribute by Title and array Index. |
GetReferenceAttribute | Gets the reference string (not the calculated value) of a string attribute that uses a reference string. |
GetSolverAndAnalysisType | Gets solver and analysis type assoicated with the BaseFem part |
GetStringAttribute | Gets a string attribute value by title. |
GetStringUserAttribute | Gets a string attribute by Title and array Index. |
GetTimeAttribute | Gets a time attribute by title. |
GetTimeUserAttribute | Gets a time attribute by Title and array Index. |
GetTransientStatus | Inquire whether the provided part is flagged as being transient |
GetUserAttribute | Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. |
GetUserAttributeAsString | Gets the first attribute encountered on the object, if any, with a given title, type and array index. |
GetUserAttributeCount | Gets the count of set attributes on the object, if any, that satisfy the given iterator. |
GetUserAttributeLock | Determine the lock of the given attribute. |
GetUserAttributeSize | Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. |
GetUserAttributeSourceObjects | Returns an array of objects from which this object presents attributes. |
GetUserAttributes | Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. |
GetUserAttributesAsStrings | Gets all the attributes that have been set on the given object. |
HasUserAttribute | Determines if an attribute exists on the object, that satisfies the given iterator |
ImportExistingSimulation | Imports the solver specific data into an existing NXOpen.CAE.FemPart or NXOpen.CAE.SimPart . |
LoadFeatureDataForSelection | Ensure that feature data is loaded for a part. |
LoadFully | Ensures that this part is fully loaded. |
LoadThisPartFully | Ensures that this part is fully loaded. |
LoadThisPartPartially | Ensures that this part is at least partially loaded. |
NewBeamSectionOffsetOptions | Creates a NXOpen.CAE.BeamSectionOffsetOptions |
NewBeamSectionOptions | Creates a NXOpen.CAE.BeamSectionOptions |
NewBeamSectionOrientationOptions | Creates a NXOpen.CAE.BeamSectionOrientationOptions |
NewFemCreationOptions | Creates a NXOpen.CAE.FemCreationOptions |
NewFemSynchronizeOptions | Creates a NXOpen.CAE.FemSynchronizeOptions |
NewMaterialOptions | Creates a NXOpen.CAE.MaterialOptions |
PolygonBodyDelete | DELETE on polygon body |
Prints a representation of this object to the system log file. | |
RegenerateDisplayFacets | Regenerates display specific transient cached facets in the part. |
ReinstateTransience | Reinstate the transient status to the formerly transient input part |
RemoveTransience | Remove the transient status from the input part |
Reopen | Reopens a loaded part. |
ReopenAs | Reopens a loaded part. |
ReverseBlankAll | Reverse blank all the objects in the part. |
Save | Saves the part whether it is modified or not. |
SaveAs | Creates copy of target part. |
SaveBookmark | Saves a bookmark file. |
SetAssociatedCadAsWork | Sets the cad part associated with the fem as work. |
SetAttribute | Creates or modifies an integer attribute. |
SetBooleanUserAttribute | Creates or modifies a boolean attribute with the option to update or not. |
SetCyclicSymmetryCsys | Sets the cyclic symmetry csys associated to the fem |
SetDescription | Sets the description assoicated with the Cae part |
SetEnableMeshMorph | Sets the enable mesh morphing flag |
SetFemAsWork | Sets the fem as work, if associated cad is the current work. |
SetGeometryData | Sets the geometry data associated with the fem part |
SetMakeUniqueName | Sets the unique name on part for the Make Unique operation |
SetMeshPreferences | Sets the mesh preferences data associated with the fem part |
SetName | Sets the custom name of the object. |
SetPdmReferenceAttribute | Sets the value of PDM Reference attribute on the object. |
SetReferenceAttribute | Creates or modifies a string attribute which uses a reference string. |
SetSolverAndAnalysisType | Sets solver and analysis type assoicated with the BaseFem part. |
SetSolverAndAnalysisTypeAndAbstraction | Sets solver and analysis type and axisymmetric abstraction associated with the BaseFem part |
SetTimeAttribute | Creates or modifies a time attribute. |
SetTimeUserAttribute | Creates or modifies a time attribute with the option to update or not. |
SetUseCyclicSymmetryCsys | Sets the use cyclic symmetry csys flag |
SetUserAttribute | Creates or modifies an attribute with the option to update or not. |
SetUserAttributeLock | Lock or unlock the given attribute. |
Undisplay | Undisplays the part, if it is currently a displayed part. |
Enumerations¶
FemPartUseBodiesOption Enumeration | Used to specify the option of specifying bodies to use from the CAD Part while creating the CAE.FemPart object. |
Property Detail¶
AssociatedCadPart¶
-
FemPart.
AssociatedCadPart
¶ Returns the cad part associated with the fem part.
Returns nothing if the fem is not associated to cad or that cad is not loaded.
-------------------------------------
Getter Method
Signature
AssociatedCadPart
Returns: CAD part associated to the fem part Return type: NXOpen.Part
New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
IdealizedPart¶
-
FemPart.
IdealizedPart
¶ Returns the idealized part associated with the fem part
-------------------------------------
Getter Method
Signature
IdealizedPart
Returns: Idealize part associated to the fem part Return type: NXOpen.Part
New in version NX4.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
IsOccurrence¶
-
FemPart.
IsOccurrence
¶ Returns whether this object is an occurrence or not.
-------------------------------------
Getter Method
Signature
IsOccurrence
Returns: This object is an occurrence Return type: bool New in version NX3.0.0.
License requirements: None.
JournalIdentifier¶
-
FemPart.
JournalIdentifier
¶ Returns the identifier that would be recorded in a journal for this object.
This may not be the same across different releases of the software.
-------------------------------------
Getter Method
Signature
JournalIdentifier
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
MasterCadPart¶
-
FemPart.
MasterCadPart
¶ Returns the master cad part associated with the fem part
-------------------------------------
Getter Method
Signature
MasterCadPart
Returns: Master CAD part associated to the fem part Return type: NXOpen.Part
New in version NX4.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Name¶
-
FemPart.
Name
¶ Returns the custom name of the object.
-------------------------------------
Getter Method
Signature
Name
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
OwningComponent¶
-
FemPart.
OwningComponent
¶ Returns the owning component, if this object is an occurrence.
-------------------------------------
Getter Method
Signature
OwningComponent
Returns: Return type: NXOpen.Assemblies.Component
New in version NX3.0.0.
License requirements: None.
OwningPart¶
-
FemPart.
OwningPart
¶ Returns the owning part of this object
-------------------------------------
Getter Method
Signature
OwningPart
Returns: The owning part of this object or null if it does not have an owner Return type: NXOpen.BasePart
New in version NX3.0.0.
License requirements: None.
Prototype¶
-
FemPart.
Prototype
¶ Returns the prototype of this object if it is an occurrence.
-------------------------------------
Getter Method
Signature
Prototype
Returns: The prototype of this object or null if this object is not an occurrence Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
CadModeling¶
-
FemPart.
CadModeling
¶ Returns the CADModeling instance belonging to this part
Signature
CadModeling
New in version NX8.5.0.
Returns: Return type: NXOpen.CAE.CADModeling
MeshPoints¶
-
FemPart.
MeshPoints
¶ Returns the meshpoint collector collection belonging to the part
Signature
MeshPoints
New in version NX3.0.0.
Returns: Return type: NXOpen.CAE.MeshPointCollection
PolygonGeometryMgr¶
-
FemPart.
PolygonGeometryMgr
¶ Returns the geometry recipe collection belonging to this fem part
Signature
PolygonGeometryMgr
New in version NX10.0.0.
Returns: Return type: NXOpen.CAE.PolygonGeometryManager
Method Detail¶
BodiesRecreateNew¶
-
FemPart.
BodiesRecreateNew
¶ RECREATE NEW on polygon bodies
Signature
BodiesRecreateNew(listOfBodies)
Parameters: listOfBodies (list of NXOpen.Body
) –New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
BodiesRecreateUpdate¶
-
FemPart.
BodiesRecreateUpdate
¶ RECREATE UPDATE on polygon bodies
Signature
BodiesRecreateUpdate(listOfBodies)
Parameters: listOfBodies (list of NXOpen.Body
) –New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
BodyDelete¶
-
FemPart.
BodyDelete
¶ DELETE on polygon body given an underlying solid body
Signature
BodyDelete(body)
Parameters: body ( NXOpen.Body
) –New in version NX8.0.0.
Deprecated since version NX9.0.0: Use
NXOpen.CAE.FemPart.PolygonBodyDelete()
instead.License requirements: nx_masterfem (“Finite Element Modeling”)
BodyRecreateNew¶
-
FemPart.
BodyRecreateNew
¶ RECREATE NEW on polygon body
Signature
BodyRecreateNew(body)
Parameters: body ( NXOpen.Body
) –New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
BodyRecreateUpdate¶
-
FemPart.
BodyRecreateUpdate
¶ RECREATE UPDATE on polygon body
Signature
BodyRecreateUpdate(body)
Parameters: body ( NXOpen.Body
) –New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
CreateEdgeSticherBuilder¶
-
FemPart.
CreateEdgeSticherBuilder
¶ Creates a
NXOpen.CAE.EdgeSticherBuilder
Signature
CreateEdgeSticherBuilder()
Returns: Return type: NXOpen.CAE.EdgeSticherBuilder
New in version NX6.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
CreatePolygonBody¶
-
FemPart.
CreatePolygonBody
¶ CREATE POLYGON BODY on excluded ug tag
Signature
CreatePolygonBody(body)
Parameters: body ( NXOpen.Body
) –New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
CreateUnStitchEdgeBuilder¶
-
FemPart.
CreateUnStitchEdgeBuilder
¶ Creates a
NXOpen.CAE.UnStitchEdgeBuilder
Signature
CreateUnStitchEdgeBuilder()
Returns: Return type: NXOpen.CAE.UnStitchEdgeBuilder
New in version NX6.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
FinalizeCreation¶
-
FemPart.
FinalizeCreation
¶ Overloaded method FinalizeCreation
FinalizeCreation(creationOptions)
FinalizeCreation(cadPart, idealizedPartName, useBodiesOption, bodies, geometrySyncOptions, solverTypeName, analysisTypeType, abstractionType, description)
FinalizeCreation(cadPart, idealizedPartName, useBodiesOption, bodies, geometrySyncOptions, solverTypeName, analysisTypeType, abstractionType, description, isMorphEnabled)
-------------------------------------
Finalizes the creation of the fem part file. This method should be called immediately after creating the fem part file. This method should be called only once for each fem part file. The second call to the method will raise an error.
Signature
FinalizeCreation(creationOptions)
Parameters: creationOptions ( NXOpen.CAE.FemCreationOptions
) –New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------
Finalizes the creation of the fem part file. This method should be called immediately after creating the fem part file. This method should be called only once for each fem part file. The second call to the method will raise an error.
Signature
FinalizeCreation(cadPart, idealizedPartName, useBodiesOption, bodies, geometrySyncOptions, solverTypeName, analysisTypeType, abstractionType, description)
Parameters: - cadPart (
NXOpen.Part
) – the cad part to be associated with the fem part - idealizedPartName (str) – the name of the idealized part to be created
- useBodiesOption (
NXOpen.CAE.FemPartUseBodiesOption
) – The option to specify bodies to use from the cad part while creating the fem part - bodies (list of
NXOpen.Body
) – the bodies to be used - geometrySyncOptions (
NXOpen.CAE.FemSynchronizeOptions
) – geometry sync options - solverTypeName (str) – the name of the solver. Refer to NX help for more information
- analysisTypeType (str) – the name of the analysis type. Refer to NX help for more information
- abstractionType (
NXOpen.CAE.BaseFemPartAxisymAbstractionType
) – the axisymmetric abstraction type. Refer to NX help for more information - description (list of str) – description
New in version NX9.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.CAE.FemPart.FinalizeCreation()
that takesCAE.FemCreationOptions
as an input argument.License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------
Finalizes the creation of the fem part file. This method should be called immediately after creating the fem part file. This method should be called only once for each fem part file. The second call to the method will raise an error.
Signature
FinalizeCreation(cadPart, idealizedPartName, useBodiesOption, bodies, geometrySyncOptions, solverTypeName, analysisTypeType, abstractionType, description, isMorphEnabled)
Parameters: - cadPart (
NXOpen.Part
) – the cad part to be associated with the fem part - idealizedPartName (str) – the name of the idealized part to be created
- useBodiesOption (
NXOpen.CAE.FemPartUseBodiesOption
) – The option to specify bodies to use from the cad part while creating the fem part - bodies (list of
NXOpen.Body
) – the bodies to be used - geometrySyncOptions (
NXOpen.CAE.FemSynchronizeOptions
) – geometry sync options - solverTypeName (str) – the name of the solver. Refer to NX help for more information
- analysisTypeType (str) – the name of the analysis type. Refer to NX help for more information
- abstractionType (
NXOpen.CAE.BaseFemPartAxisymAbstractionType
) – the axisymmetric abstraction type. Refer to NX help for more information - description (list of str) – description
- isMorphEnabled (bool) – Is Mesh Morphing enabled or not
New in version NX10.0.0.
Deprecated since version NX11.0.0: Use
NXOpen.CAE.FemPart.FinalizeCreation()
that takesCAE.FemCreationOptions
as an input argument.License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------
FinalizeCreationManaged¶
-
FemPart.
FinalizeCreationManaged
¶ Finalizes the creation of the fem part file while in managed mode (Teamcenter).
This method should be called immediately after creating. The second call to the method will raise an error.
Signature
FinalizeCreationManaged(cadPart, createIdealPart, useBodiesOption, bodies, geometrySyncOptions, solverTypeName, analysisTypeType, abstractionType, description)
Parameters: - cadPart (
NXOpen.Part
) – the cad part to be associated with the fem part - createIdealPart (bool) – idealized part created if true
- useBodiesOption (
NXOpen.CAE.FemPartUseBodiesOption
) – The option to specify bodies to use from the cad part while creating the fem part - bodies (list of
NXOpen.Body
) – the bodies to be used - geometrySyncOptions (
NXOpen.CAE.FemSynchronizeOptions
) – geometry sync options - solverTypeName (str) – the name of the solver. Refer to NX help for more information
- analysisTypeType (str) – the name of the analysis type. Refer to NX help for more information
- abstractionType (
NXOpen.CAE.BaseFemPartAxisymAbstractionType
) – the axisymmetric abstraction type. Refer to NX help for more information - description (list of str) – description
New in version NX8.5.0.
Deprecated since version NX11.0.0: Use
NXOpen.CAE.FemPart.FinalizeCreation()
that takesCAE.FemCreationOptions
as an input argument.License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
- cadPart (
FindObject¶
-
FemPart.
FindObject
¶ Finds the
NXOpen.NXObject
with the given identifier as recorded in a journal.An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Journal identifier of the object Returns: Return type: NXOpen.INXObject
New in version NX3.0.0.
License requirements: None.
GetGeometryData¶
-
FemPart.
GetGeometryData
¶ Gets geometry data associated with the fem part
Signature
GetGeometryData()
Returns: a tuple Return type: A tuple consisting of (useBodiesOption, listOfBodies, psyncData). useBodiesOption is a NXOpen.CAE.FemPartUseBodiesOption
. Flag if all were selected listOfBodies is a list ofNXOpen.Body
. Array of tags of selected bodies psyncData is aNXOpen.CAE.FemSynchronizeOptions
. Syncrhonize options objectNew in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
GetMeshPreferences¶
-
FemPart.
GetMeshPreferences
¶ Returns the mesh preferences data associated with the fem part
Signature
GetMeshPreferences()
Returns: a tuple Return type: A tuple consisting of (tinyEdgeColor, snapTolerance, projectNodesToCadOption, projectionTolerance, refineTessellation) tinyEdgeColor is a Id. Tiny edge color snapTolerance is a float. Snap Tolerance projectNodesToCadOption is a int. Project nodes to CAD projectionTolerance is a float. Projection tolerance refineTessellation is a int. Refine tessellation 0 or 1 New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
NewFemCreationOptions¶
-
FemPart.
NewFemCreationOptions
¶ Creates a
NXOpen.CAE.FemCreationOptions
Signature
NewFemCreationOptions()
Returns: the creation options object created Return type: NXOpen.CAE.FemCreationOptions
New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
NewFemSynchronizeOptions¶
-
FemPart.
NewFemSynchronizeOptions
¶ Creates a
NXOpen.CAE.FemSynchronizeOptions
Signature
NewFemSynchronizeOptions()
Returns: the syncrhonize options object created Return type: NXOpen.CAE.FemSynchronizeOptions
New in version NX4.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
PolygonBodyDelete¶
-
FemPart.
PolygonBodyDelete
¶ DELETE on polygon body
Signature
PolygonBodyDelete(body)
Parameters: body ( NXOpen.CAE.CAEBody
) –New in version NX9.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Print¶
-
FemPart.
Print
¶ Prints a representation of this object to the system log file.
Signature
Print()
New in version NX3.0.0.
License requirements: None.
SetAssociatedCadAsWork¶
-
FemPart.
SetAssociatedCadAsWork
¶ Sets the cad part associated with the fem as work.
This method expects the fem to be current displayed part.
Signature
SetAssociatedCadAsWork(cadPart)
Parameters: cadPart ( NXOpen.Part
) – CAD part associated to the fem partNew in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SetFemAsWork¶
-
FemPart.
SetFemAsWork
¶ Sets the fem as work, if associated cad is the current work.
This method expects the fem to be current displayed part.
Signature
SetFemAsWork()
New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SetGeometryData¶
-
FemPart.
SetGeometryData
¶ Sets the geometry data associated with the fem part
Signature
SetGeometryData(useBodiesOption, listOfBodies, psyncData)
Parameters: - useBodiesOption (
NXOpen.CAE.FemPartUseBodiesOption
) – Flag if all were selected - listOfBodies (list of
NXOpen.Body
) – Array of tags of selected bodies - psyncData (
NXOpen.CAE.FemSynchronizeOptions
) – Syncrhonize options object
New in version NX7.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
- useBodiesOption (
SetMeshPreferences¶
-
FemPart.
SetMeshPreferences
¶ Sets the mesh preferences data associated with the fem part
Signature
SetMeshPreferences(tinyEdgeColor, snapTolerance, projectNodesToCadOption, projectionTolerance, refineTessellation)
Parameters: - tinyEdgeColor (Id) – Tiny edge color
- snapTolerance (float) – Snap Tolerance
- projectNodesToCadOption (int) – Project nodes to CAD
- projectionTolerance (float) – Projection tolerance
- refineTessellation (int) – Refine tessellation 0 or 1
New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SetName¶
-
FemPart.
SetName
¶ Sets the custom name of the object.
NOTE: This method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.
Signature
SetName(name)
Parameters: name (str) – New in version NX3.0.0.
License requirements: None.