Cmb Posted September 15, 2023 Share Posted September 15, 2023 Hello, I made a plug-in object with the option to be inserted in walls, therefore its SParametricDef structure has resets on move / rotate, and wall insertion enabled. When the object inserted in a wall is moved while staying inside the wall, its recalculate event won't be triggered. This is an issue for me as I need my object to be recalculated after a position change inside the wall aswell. I found the following init property which is obsolete : Is there another way to reset the object in wall ? Do i have to catch a move event for this pio type and then reset the object if it is inside a wall ? thx for help Quote Link to comment
Hippocode Posted September 22, 2023 Share Posted September 22, 2023 Also watch the internal index or GUID of your object inside the reset events. If I remember correctly, when an object is inserted into a wall, a copy is actually made for insertion, removing the original object. Quote Link to comment
Cmb Posted September 29, 2023 Author Share Posted September 29, 2023 The solution i found was to use the reshape event of the wall obj through the update support of the sdk , and to find my object in it : @Hippocode indeed a new copy of the object is made in the wall at insertion time, so i also have to find a way for that Quote Link to comment
Recommended Posts
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.