Skip to main content
MikePhillips
12-Amethyst
Jun 30, 2011 9:31 PM UTC
Question

Weblink and drawing symbol groups



I accidentally posted this in the CAD forum...might have more luck
here. 🙂


I have a symbol that I would like to place on a drawing using Weblink. This
symbol has numerous groups. I would like to programmatically select certain
groups before I place the symbol. Looking through the Weblink API
documentation, it appears that Weblink can only show ALL the groups, NONE
of the groups or present a dialog to the user to pick from the available
groups.

Is this the case? Is it possible to select a group? If not, does anyone
have a work around?

I'm trying to work this out using the RunMacro() function as a temporary
work around.


Thank you in advance,



Mike Phillips
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

2 replies

1-Visitor
Jul 1, 2011 5:16 AM UTC
Michael,



you can specify which groups should be displayed.

There is an example in the Weblink User?s Guide.

See the second code example ? the function is called ? placeDetailSymbol?.



Andreas


Translate
MikePhillips
12-Amethyst
Jul 1, 2011 12:47 PM UTC
Thank you Andreas!

You are correct. I gave the example a try and it's going to give me what I
need.

Mike



Translate