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

remove symbol

Marble

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

3 REPLIES 3

Re: remove symbol

Get location:

  • ProDtlsyminstDataGet()
  • ProDtlsyminstdataAttachmentGet()
  • ProDtlattachGet() -> Fourth output argument is location vector

Delete Symbol:

  • ProDtlsyminstErase()
  • ProDtlsyminstDelete()

Re: remove symbol

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?

 

 

 

 

Re: remove symbol

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...

Announcements