How do you reference a specific object in Moi3D scripting?
All  1-7  8

Previous
 From:  Elang
12042.8 In reply to 12042.7 
Hi Michael,

Thank you very much for taking the time to write such a detailed explanation. It makes much more sense to me now.

I think I understand the distinction between using `update()/commit()` for interactive commands and using `calculate()` for programmatically generating geometry. I also understand why obtaining and keeping the object reference is the preferred approach.

I would like to spend some time studying these concepts and experimenting with both approaches before asking any further questions. I'm sure I'll learn much more by trying them myself first.

Earlier you asked what I was actually trying to accomplish. My long-term goal is to build procedural scripts that generate many objects and perform a sequence of operations on them. Rather than creating just one or two objects, a script may eventually generate dozens of intermediate and final objects before reaching the final result.

Once I have explored these concepts a bit more, I'll come back with a more concrete example of that workflow. I think it will make my questions much clearer.

Thank you again for your patience and for sharing your knowledge. I really appreciate your guidance, and I'll be back on the forum soon after I've had some time to experiment.

Best regards,

- Elang
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-7  8