Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns whether the object, camera, material or camera , material emitter, material layer, reflectance, coating, or BSDF is empty (null).

LanguageSyntax
C++bool isNull()

...

Code Block
titlePython
CmaxwellObject scene.getObject( 'myobject' );
if object.isNull():
  print( 'Error: -myobject- not exists' );
else:
  printf( "Good news: -myobject- readed successfully" );

...