[Resolved] Create should create empty

It is a small but annoying one.
When using op("base1").create( geometryCOMP ) it also creates the default TorusSOP inside the newly created GeoCOMP.
The Torus is nice “show dont tell” device, but when I create components programaticaly it would be nice if they would be in their most minimal state,

1 Like

Hey @alphamoonbase

Thanks for the report. Sounds like a bug to me.

Agreed this is weird.

I’ve logged the issue for it to be looked into.

Best,
Michel

Hey @alphamoonbase,

the .create method has an argument for initialize which by default is true and hence is creating the torus. From the docs:

initialize - (Keyword, Optional) If set to false, then the initialization script for that node won’t be run. Most nodes don’t do anything to initialize, but some do. For example the Light COMP initializes a network inside itself of SOPs.

cheers
Markus

2 Likes