Jump to content
Stefan Bender

VWWallObj::InsertNewComponent sets cavity thickness to 0???

Recommended Posts

Dear developers,

have any of you ever used VWWallObj::InsertNewComponent or ISDK::InsertNewComponentN? I'm currently trying to "copy" the cavities of an existing wall that has 3 cavities (with a total width of 32 cm) to another wall with no cavities but a width of 45 cm. I'm adding 3 cavities/components seemingly sucessfully to the target (after reading them from the "source" wall by VWWallObj::GetComponentInfo), but when I analyze the "target" wall, all three cavities have a width of 0 and the overall width of the target wall is 0. The expected and required result is that the "target wall" has the same components and the same overall width as the source wall afterwards. I assume that the problem may be related to the fact that the target wall had no cavities before this. But I couldn't find an object variable or member function of VWWallObj to tell the wall that its width is defined by components and not by "width". Is there something wrong with my workflow? What can I do to make the target wall "accept" the actual widths of the cavities?

 

Thanks for any help,

 

Stefan Bender

Share this post


Link to post

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.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...