Make Object invisible
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/02/2011 at 09:51, xxxxxxxx wrote:
Haha, me againΒ
Hopefully someone will answer all my questionIs there any way to make a BaseObject "Invisible" without having to set the Render & Editormode ?
For example when i create a Deformer with the PythonGenerator, i don't want the Parent, which actually gets deformed, to be seeable anymore, because the PythonGenerator returns the Deformd Object. Or is there any easier or better way to do that ?cheers, nux
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/02/2011 at 03:30, xxxxxxxx wrote:
Well I can only tell you the manual way, I don't know if it is possible to do it via python:
Put a display tag on your object and recuce the visibilty to zero percent.Maybe just one way of thousands ...
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/02/2011 at 07:29, xxxxxxxx wrote:
Yea, I would need exactly this, but it would be definetly better, without that Tag
Thanks either, nux
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/02/2011 at 07:56, xxxxxxxx wrote:
import c4d
obj = doc.GetActiveObject ()
tag = c4d.BaseTag(c4d.Tdisplay)obj.InsertTag(tag)
c4d.EventAdd()
Half the way is done
and it's a script not a tag, therefore, no main ()
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/02/2011 at 08:21, xxxxxxxx wrote:
Well, i think having a main() in a Script to makes the Code even more readable.
Btw, i thought you wanted to post it as a PythonGenerator Code.Did you take a look at the Cloner examples ? Or do you already have got that skills ?
So, maybe i can make a Tag invisible ?