remove symbol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
remove symbol
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
- Labels:
-
Toolkit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Get location:
- ProDtlsyminstDataGet()
- ProDtlsyminstdataAttachmentGet()
- ProDtlattachGet() -> Fourth output argument is location vector
Delete Symbol:
- ProDtlsyminstErase()
- ProDtlsyminstDelete()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
Thank you so much.
I am clear about the below apis.
- ProDtlsyminstdataAttachmentGet()
- ProDtlattachGet()
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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...