Jump to content

Call redraw for plug-in object

Recommended Posts

Dear VW forum

I'm looking for a function who can update/redraw/regenerate all the plug-in object in the model.
I'll try to explain better: 
I have several doors-windows generated from plug-in object, I modify a component in the wall (thickness for example) where the plug-in objects are inserted and, I see the changes of the component thickness but to obtain a correct update of the plug in object i need to move-it and then the plug-in objects are well redraw. 

here an example:


I change the insulation thickness  in this wall.
Then I see this: 
image.png.b9828f84eb612eb961cbfd4e60fc7038.png before moving 


image.png.8c0af5d8224e5fcadaf17f63205a96c7.png  after..  

The functions vs.ReDraw() and vs.ReDrawAll() don't works..  

Link to comment
Posted (edited)
vs.SetObjectVariableBoolean(h, 1167, True)


This will reset handle h. For all PIOs of a given type, you'll need to loop through them or vs.ForEachObject loop through them.

Edited by spettitt
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.

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...