public interface PhysicalMaterial extends Material, IExportableFEEntity
Modifier and Type | Interface and Description |
---|---|
static class |
PhysicalMaterial.AssignWarning
Indicates the underlying issues when trying to assign material
|
static class |
PhysicalMaterial.Category
The different categories of materials.
|
static class |
PhysicalMaterial.ParentlibrarymaterialData
This class holds the data returned from
getParentlibrarymaterial() |
static class |
PhysicalMaterial.Type
The different types of materials.
|
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
void |
assignObjects(NXObject[] objects)
Assigns the material to solid bodies
License requirements: None. |
void |
assignToAllBodies()
Assigns the material to all solid bodies
License requirements: None. |
PhysicalMaterial.AssignWarning |
assignToBodiesNotUsingPreferredMaterial()
Assigns the material to all solid bodies not using the preferred material.
|
PhysicalMaterial.AssignWarning |
assignToBodiesWithoutMaterials()
Assigns the material to all solid bodies without a material already assigned.
|
PhysicalMaterial |
copy(NXObject partObject)
Creates new (copied) material with same properties as the original material.
|
PhysicalMaterial |
copyLibMatlToPart(NXObject partObject)
Copies a library material to a part.
|
PhysicalMaterial |
copyLibMatlToPart(NXObject partObject,
boolean editable)
Copies a library material to a part.
|
void |
delete()
Deletes a material from the part.
|
void |
deleteOrphanedUserMaterialModels()
Deletes Orphaned User Material (UMAT) Models and Properties from a material.
|
void |
deleteUserMaterialModels()
Deletes User Material (UMAT) Model Property Values from a material.
|
String |
getAlternatename()
Returns the material alternate name
License requirements: None. |
String |
getCategory()
Returns the material category
License requirements: None. |
String |
getDescription()
Returns the material description
License requirements: None. |
int |
getId()
Returns the material id
License requirements: None. |
String |
getLibraryName()
Returns the library name if the material was loaded from a library
License requirements: None. |
String |
getMaterialCategory()
Returns the material category using international character set
License requirements: None. |
boolean |
getMaterialEditable()
Returns whether the material can be modified or not
License requirements: None. |
PhysicalMaterial.Type |
getMaterialType()
Returns the material type
License requirements: None. |
PhysicalMaterial.ParentlibrarymaterialData |
getParentlibrarymaterial()
Returns the parent libary material information
License requirements: None. |
PhysicalMaterial |
getParentmaterial()
Returns the parent material that the material was copied from
License requirements: None. |
BasePropertyTable |
getPropTable()
Returns the property table that contains the properties for this material.
|
String |
getSubcategory()
Returns the material sub-category
License requirements: None. |
String |
getTeamcenterMaterialItem()
Returns the Teamcenter item if the material was loaded from Teamcenter
License requirements: None. |
NXObject[] |
getUsage()
Finds the objects using this material
License requirements: None. |
String |
getVersion()
Returns the material version
License requirements: None. |
boolean |
hasParentlibrarymaterial()
Returns whether the material was copied from a library material
License requirements: None. |
boolean |
hasParentmaterial()
Returns whether the material was copied from another material
License requirements: None. |
void |
infoMaterial()
Displays the property values for the material in the information window.
|
void |
infoMaterialToFile(boolean bOverride,
String pcFileName)
Writes the property values for the material to a file.
|
boolean |
isLoadedLibraryMaterial()
Returns true if the material is loaded from a library (not Teamcenter)
License requirements: None. |
boolean |
isLoadedTeamcenterMaterialItem()
Returns true if the material is loaded from Teamcenter
License requirements: None. |
boolean |
isNonlibraryMaterial()
Returns true if the material is locally defined (not a library/Teamcenter material)
License requirements: None. |
void |
replaceMaterialAssignment(PhysicalMaterial newMatl)
Replaces all assignments of one material with another material in the part where the material is assigned.
|
void |
resyncWithLibraryDefinition()
Re-synchronizes a loaded library material to match its latest library definition.
|
void |
setAlternatename(String materialAlternatename)
Sets the material alternate name
License requirements: None. |
void |
setCategory(String materialCategory)
Sets the material category
License requirements: None. |
void |
setDescription(String materialDescription)
Sets the material description
License requirements: None. |
void |
setId(int materialId)
Sets the material id
License requirements: None. |
void |
setMaterialCategory(String materialCategory)
Sets the material category using international character set
License requirements: None. |
void |
setMaterialEditable(boolean isEditable)
Sets whether a material can be modified or not.
|
void |
setSubcategory(String materialSubcategory)
Sets the material sub-category
License requirements: None. |
void |
unassignAllObjects()
Removes the material assignment from all the objects that has it currently assigned
License requirements: None. |
void |
updateMaterialProperties()
Re-synchronizes a material with its definition.
|
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
getSolverCardSyntax
PhysicalMaterial.Type getMaterialType() throws NXException, RemoteException
NXException
RemoteException
int getId() throws NXException, RemoteException
NXException
RemoteException
void setId(int materialId) throws NXException, RemoteException
materialId
- the id for the materialNXException
RemoteException
String getCategory() throws NXException, RemoteException
NXException
RemoteException
void setCategory(String materialCategory) throws NXException, RemoteException
materialCategory
- the category for the materialNXException
RemoteException
void setMaterialCategory(String materialCategory) throws NXException, RemoteException
materialCategory
- the category for the materialNXException
RemoteException
String getMaterialCategory() throws NXException, RemoteException
NXException
RemoteException
String getSubcategory() throws NXException, RemoteException
NXException
RemoteException
void setSubcategory(String materialSubcategory) throws NXException, RemoteException
materialSubcategory
- the subcategory for the materialNXException
RemoteException
String getAlternatename() throws NXException, RemoteException
NXException
RemoteException
void setAlternatename(String materialAlternatename) throws NXException, RemoteException
materialAlternatename
- the alternate name for the materialNXException
RemoteException
String getDescription() throws NXException, RemoteException
NXException
RemoteException
void setDescription(String materialDescription) throws NXException, RemoteException
materialDescription
- the description for the materialNXException
RemoteException
boolean isNonlibraryMaterial() throws NXException, RemoteException
NXException
RemoteException
boolean isLoadedLibraryMaterial() throws NXException, RemoteException
NXException
RemoteException
boolean isLoadedTeamcenterMaterialItem() throws NXException, RemoteException
NXException
RemoteException
String getLibraryName() throws NXException, RemoteException
NXException
RemoteException
String getTeamcenterMaterialItem() throws NXException, RemoteException
NXException
RemoteException
String getVersion() throws NXException, RemoteException
NXException
RemoteException
boolean hasParentmaterial() throws NXException, RemoteException
NXException
RemoteException
PhysicalMaterial getParentmaterial() throws NXException, RemoteException
NXException
RemoteException
boolean hasParentlibrarymaterial() throws NXException, RemoteException
NXException
RemoteException
PhysicalMaterial.ParentlibrarymaterialData getParentlibrarymaterial() throws NXException, RemoteException
NXException
RemoteException
boolean getMaterialEditable() throws NXException, RemoteException
NXException
RemoteException
void setMaterialEditable(boolean isEditable) throws NXException, RemoteException
isEditable
- NXException
RemoteException
void assignObjects(NXObject[] objects) throws NXException, RemoteException
objects
- objects to assign this material toNXException
RemoteException
void assignToAllBodies() throws NXException, RemoteException
NXException
RemoteException
PhysicalMaterial.AssignWarning assignToBodiesWithoutMaterials() throws NXException, RemoteException
NXException
RemoteException
PhysicalMaterial.AssignWarning assignToBodiesNotUsingPreferredMaterial() throws NXException, RemoteException
NXException
RemoteException
void unassignAllObjects() throws NXException, RemoteException
NXException
RemoteException
NXObject[] getUsage() throws NXException, RemoteException
NXException
RemoteException
void replaceMaterialAssignment(PhysicalMaterial newMatl) throws NXException, RemoteException
newMatl
- the new material tag, null is not allowed.NXException
RemoteException
PhysicalMaterial copy(NXObject partObject) throws NXException, RemoteException
partObject
- object in part where to copy material toNXException
RemoteException
PhysicalMaterial copyLibMatlToPart(NXObject partObject) throws NXException, RemoteException
partObject
- object in part where to copy material toNXException
RemoteException
PhysicalMaterial copyLibMatlToPart(NXObject partObject, boolean editable) throws NXException, RemoteException
partObject
- object in part where to copy material toeditable
- when true, creates a local material ready for user editting. When false, it creates an exact copy of a loaded library material.
The difference between loading and copying with this set to false is loading will get the latest library version whereas if the
library material passed in is not synchronized with the latest version, the copy will also not be synchronized with the latest version.NXException
RemoteException
void delete() throws NXException, RemoteException
NXException
RemoteException
void deleteUserMaterialModels() throws NXException, RemoteException
NXException
RemoteException
void deleteOrphanedUserMaterialModels() throws NXException, RemoteException
NXException
RemoteException
void resyncWithLibraryDefinition() throws NXException, RemoteException
NXException
RemoteException
void updateMaterialProperties() throws NXException, RemoteException
NXException
RemoteException
void infoMaterial() throws NXException, RemoteException
NXException
RemoteException
void infoMaterialToFile(boolean bOverride, String pcFileName) throws NXException, RemoteException
bOverride
- if the file already exists, true override the file, false append to the filepcFileName
- the full path including filename of file where the information should be writtenNXException
RemoteException
BasePropertyTable getPropTable() throws NXException, RemoteException
NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.