Adding points to Both ends of an Interpcurve factory?
All  1  2-3

Previous
Next
 From:  Michael Gibson
6924.2 In reply to 6924.1 
Hi Brian, the only method for adding to a factory's input list is the factory.createInput() method which creates a new input slot at the end of the list. There isn't any way to insert an input to the front of the list in just one call.

But you could do something like create a new input at the end, copy all inputs up one slot starting at the end going down, then call factory.setInput( 0, value ) to set your new value to the first one in the list...

But it may be easier though to just use a new factory and fill it all in at once when you have new things to put in the front.

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

Previous
 From:  bemfarmer
6924.3 In reply to 6924.2 
Thank you Michael.

- Brian
  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  2-3