Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copying Symbols

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
264 Views, 2 Replies

Copying Symbols

Hello

Sanjay posted at Dec/07/04 for Copying Symbols:

1.. Use the Sheet.CopyTo method to copy the sheet containing the sketched
symbol from drawing 1 to drawing 2.
2.. Get the SketchedSymbolDefinition from the copied sheet in drawing 2.
3.. Use the definition from step 2 to create new sketched symbol.
4.. Delete the copied sheet.
We are working on a better mechanism for this.


Has anyone found a better mechanism for this problem?

Greetings
A. Engler
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

I provided that workaround because the API didn't support copying drawing
resources across documents at the time. The API does support that capability
now. You can use the SketchedSymbolDefinition.CopyTo method to copy sketched
symbol resources across documents.

Sanjay-
Message 3 of 3
Anonymous
in reply to: Anonymous

Thank you Sanjay

Greetings
A. Engler

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report