cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Weblink and drawing symbol groups

MikePhillips
6-Contributor

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 2

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


Thank you Andreas!

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

Mike



Top Tags