Check if object enabled
-
Hi,
In my export utility I'm using following method to check if object should be rendered:Int32 BaseObject::GetRenderMode(void)
Could you please point me the method that shows if object is enabled (see attached image) ? Unfortunately, I can't find it in documentation.
Thanks in advance,
....
YB -
Hello @yesbird,
Thank you for reaching out to us. The checkbox you are talking about is the parameter
ID_BASEOBJECT_GENERATOR_FLAG
. The parameter is "sort of" documented for C++ here, but for resources, it is often best to use the Python documentation, as its resource documentation is much nicer. I would recommend also visiting this thread from roughly two weeks ago, as we also discussedID_BASEOBJECT_GENERATOR_FLAG
there and the unusual circumstances this parameters operates with.Cheers,
Ferdinand -
Hi, @ferdinand
Many thanks for accurate and detailed response, ID_BASEOBJECT_GENERATOR_FLAG works like a charm !
....
YB