Hi
I've created a VBA to add different shapes (other than rectangular and circles) to the worksetshapes.xml. At the moment it doesn't work unless I've created a rectangular shape with the built in tool:
Because after creating that first one, the xml-file fills up with different shapes and so on:
Is there a way to generate this with VBA command or a keyin? Or is there andother way to get around this problem?
Running OBD, CE update 5
Robert
Hi Robert,
VBA definitely isn't my thing, but... are you saying that the VBA only adds new sections to the selected XML if a custom rectangular shape had first been added through the placement tool? IOW, as though adding the rectangular section first somehow "formats" the XML and then allows the VBA to do its thing?
This is how the delivered worksetshapes.xml looks like:
This is how it looks after creating just one rectangular shape.
I'll then insert the shape I want trough the VBA under the corresponding shape type.
I'm no star att VBA, a beginner really. So it would be much easier for me if the file looked this from start.
Robert,
Not sure if you have tried it before, but an excel template is delivered in the dataset to customize the section profiles as described in this WIKI.
Or is it you are creating a custom VBA to add the section profiles for on the fly during modeling?
Best Regards,
RJ.
Yes, exactlly, we work alot with the plate girders ext-type of section. There's lots of different types, so our users have to add them all the time, something they find hard trough the excel-document. I've created something like this instead.
Thank you for explaining.
Will leave it to the VBA experts in the group to share more thoughts on it.