c4d.LodObject

class c4d.LodObject

Represents the LOD object.

The instance object class of type Olod.

New in version R19.

See also

LodObject Manual.

Methods Signatures

LodObject.__init__(self)

Creates a LOD object.

LodObject.GetCurrentLevel(self)

Queries the current LOD level.

LodObject.GetLevelCount(self)

Queries the current number of LOD levels.

LodObject.GetShowControlDescID(self, level)

Calculates the dynamic description ID of the show control for the passed LOD level.

LodObject.GetManualModeObjectListDescID(self, level)

Calculates the dynamic description ID of the object list for the passed LOD level.

LodObject.GetSimplifyModeDescID(self, level)

Calculates the dynamic description ID of the simplify mode for the passed LOD level.

LodObject.GetDecimateStrengthDescID(self, level)

Calculates the dynamic description ID of the decimation strength for the passed LOD level.

LodObject.GetPerObjectControlDescID(self, level)

Calculates the dynamic description ID of the per object control for the passed LOD level.

LodObject.GetNullDisplayDescID(self, level)

Calculates the dynamic description ID of the NullObject Display control for the passed LOD level.

LodObject.GetNullRadiusDescID(self, level)

Calculates the dynamic description ID of the NullObject Radius control for the passed LOD level.

LodObject.GetNullAspectRatioDescID(self, level)

Calculates the dynamic description ID of the NullObject Aspect Ratio control for the passed LOD level.

LodObject.GetNullOrientationDescID(self, level)

Calculates the dynamic description ID of the NullObject Orientation control for the passed LOD level.

LodObject.GetDisplayStModeDescID(self, level)

Calculates the dynamic description ID of the Display Style Mode control for the passed LOD level.

LodObject.GetDisplayShModeDescID(self, level)

Calculates the dynamic description ID of the Display Shading Mode control for the passed LOD level.

LodObject.GetDisplayBFCDescID(self, level)

Calculates the dynamic description ID of the Display Backface Culling control for the passed LOD level.

LodObject.GetDisplayTexDescID(self, level)

Calculates the dynamic description ID of the Display Texture control for the passed LOD level.

Inheritance

Parent Class:

Methods Documentation

LodObject.__init__(self)

Creates a LOD object.

LodObject.GetCurrentLevel(self)

Queries the current LOD level.

Return type

int

Returns

The current LOD level index, or NOTOK/-1 in error case.

LodObject.GetLevelCount(self)

Queries the current number of LOD levels.

Return type

int

Returns

The current LOD level count, or NOTOK/-1 in error case.

LodObject.GetShowControlDescID(self, level)

Calculates the dynamic description ID of the show control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetManualModeObjectListDescID(self, level)

Calculates the dynamic description ID of the object list for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetSimplifyModeDescID(self, level)

Calculates the dynamic description ID of the simplify mode for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetDecimateStrengthDescID(self, level)

Calculates the dynamic description ID of the decimation strength for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetPerObjectControlDescID(self, level)

Calculates the dynamic description ID of the per object control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetNullDisplayDescID(self, level)

Calculates the dynamic description ID of the NullObject Display control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetNullRadiusDescID(self, level)

Calculates the dynamic description ID of the NullObject Radius control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetNullAspectRatioDescID(self, level)

Calculates the dynamic description ID of the NullObject Aspect Ratio control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetNullOrientationDescID(self, level)

Calculates the dynamic description ID of the NullObject Orientation control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetDisplayStModeDescID(self, level)

Calculates the dynamic description ID of the Display Style Mode control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetDisplayShModeDescID(self, level)

Calculates the dynamic description ID of the Display Shading Mode control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetDisplayBFCDescID(self, level)

Calculates the dynamic description ID of the Display Backface Culling control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.

LodObject.GetDisplayTexDescID(self, level)

Calculates the dynamic description ID of the Display Texture control for the passed LOD level.

Parameters

level (int) – The LOD level.

Return type

Optional[c4d.DescID]

Returns

The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None.