Suppose you want to create a 3d dwf whose content is like:
-> Line 1
-> Line 2
-> Line 3
-> Circle 1
-> Circle 2
-> Arc 1
If the objects to process come in any order and I don't get the chance to sort them by type (they come from an ODA vectorizer), how can I
1. Tell if I already have a segment called Model/Lines, if I encounter a line to add to the w3d
2. Reopen that Lines segment, if I answer question 1?
In simpler terms, given a DWFToolkit:WFSegment object, how can I tell if it has a child segment with a name called 'Lines', and reopen it to add more geometry to it?
I tried instantiating the parent segments (Lines, Circles etc) with 'new' and keeping their addresses and names in an array, so I could get at them any time after creating them. That seemed to work, the dwf opens up and looks good in Design Review, but Navisworks won't open it (internal error).
Thanks for any help, I hope I explained the problem enough.
Access a broad range of knowledge to help get the most out of your products and services.