TrueShadingCollection Class¶
-
class
NXOpen.Display.TrueShadingCollection¶ Bases:
objectRepresents a collection SHED objects
To obtain an instance of this class, refer to
NXOpen.BasePartNew 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.TrueShadingBuilderobject 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.TrueShadingBuilderNew in version NX6.0.0.
License requirements: None.
FindObject¶
-
TrueShadingCollection.FindObject¶ Finds the
NXOpen.Display.TrueShadingwith 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.TrueShadingNew in version NX6.0.0.
License requirements: None.