Jump to content
Developer Wiki and Function Reference Links ×

How can I replace the content of an auto hybrid using "set parent"?


Recommended Posts

Hi

You have to browse the container-nesting of the object to find out, how they are nested. Sometings the Content node works, sometings you need commands like vs.GetCustomObjectProfileGroup(objectHand) etc.

As you can see, the autohybrid from an extrude is pretty good nested. Try first to replace the object (delete and set new object to it's parent). Maybe you have to reset object after that manipulation. Or maybe you will crash if you delete the content and do not attach a new contend (maybe start with add an additional object to the exitsting).

 

Not tested any of this, but that's the way I would try to crack the riddle. 

 

677929309_Bildschirmfoto2018-07-04um22_26_42.thumb.png.aa05bdc3563bde6d4d78e7492c6feec6.png

Autohybrid.vwx

Link to comment

Got it

Your Autohybrid content has it's own origin you have to compensate this. My first script works but the autohybrid is already wrecked. by use parent node wrong. So be careful what object you put in what other object. Worst case you put them somewhere you can't delete them anymore.

 

1657454363_Bildschirmfoto2018-07-04um22_54_56.thumb.png.e49805ded3cbd41be3c0948d1a7ec6cd.png

Autohybrid2.vwx

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...