TrueShadingCollection Class¶
-
class
NXOpen.Display.
TrueShadingCollection
¶ Bases:
object
Represents a collection SHED objects
To obtain an instance of this class, refer to
NXOpen.BasePart
New in version NX6.0.0.
Methods¶
Method | Description |
---|---|
CreateTrueShadingBuilder | Creates a NXOpen.Display.TrueShadingBuilder object if SHED is None. |
FindObject | Finds the NXOpen.Display.TrueShading with the given identifier as recorded in a journal. |
Method Detail¶
CreateTrueShadingBuilder¶
-
TrueShadingCollection.
CreateTrueShadingBuilder
¶ Creates a
NXOpen.Display.TrueShadingBuilder
object if SHED is None.Otherwise, a TrueShading object will be edited
Signature
CreateTrueShadingBuilder(sObj)
Parameters: sObj ( NXOpen.Display.TrueShading
) – If SHED object is not None, then this object will be editedReturns: return SHED object builder Return type: NXOpen.Display.TrueShadingBuilder
New in version NX6.0.0.
License requirements: None.
FindObject¶
-
TrueShadingCollection.
FindObject
¶ Finds the
NXOpen.Display.TrueShading
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 found with the given journal identifier.
Signature
FindObject(journalIdentifier)
Parameters: journalIdentifier (str) – Identifier to be found Returns: SHED object found Return type: NXOpen.Display.TrueShading
New in version NX6.0.0.
License requirements: None.