Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
Some one please suggest me c++ toolkit api to get the location of a symbol and also remove symbol from that particular location .
Thanks and regards,
Sekar
Get location:
Delete Symbol:
Hi,
Thank you so much.
I am clear about the below apis.
I have some doubt about ProDtlsyminstDataGet().
I have gone through the sample code given for ProDtlsyminstDataGet() api. As per my understand, the user has to select the symbol instance.
Is it possible to collect all symbols in a particular drawing (without user selecting symbol)?
If possible , could you please guide me on this?
You can use ProDrawingDtlsyminstsCollect() to collect all symbol instances of a drawing sheet.
ProDrawingSheetsCount() gives you the number of sheets in the drawing. So, call ProDrawingDtlsyminstsCollect in a for loop for each sheet.
ProDtlsyminstDataGet() returns the data belonging to the corresponding symbol. It doesn't matter whether the ProDtlsyminst was gathered via ProSelect or via ProDrawingDtlsyminstsCollect or via ProModelitemInit() or...