Copying SketchedSymbolDefinitions, any suggestions

Copying SketchedSymbolDefinitions, any suggestions

Anonymous
Not applicable
240 Views
2 Replies
Message 1 of 3

Copying SketchedSymbolDefinitions, any suggestions

Anonymous
Not applicable
If it is at all possible in IV9 now to do the following, I could use a little help. I would like to: 1. Open a template drawing. 2. Get one of it's SketchedSymbolDefinition's 3. Copy the Definition to the active document's definitions. I am currently stuck on #3. I am aware of the Edit method to copy the symbol def sketch, and ExitEdit, but it doesn't really seem possible to use those to copy the symbol def to the active document very easily. It would be nice if there was just some kind of Object Copy method that could work between documents. Anyway, any suggestions, hints, tips, or flat out denials that it can't be done would be appreciated by any and all (especially Autodesk employees) TIA, Bob S.
0 Likes
241 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Bob, Currently, the only way to copy the definitions across documents is to do the following: 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. Sanjay- "Bob S." wrote in message news:418a4b64$1_3@newsprd01... > If it is at all possible in IV9 now to do the following, I could use a little > help. I would like to: > > 1. Open a template drawing. > 2. Get one of it's SketchedSymbolDefinition's > 3. Copy the Definition to the active document's definitions. > > I am currently stuck on #3. I am aware of the Edit method to copy > the symbol def sketch, and ExitEdit, but it doesn't really seem possible > to use those to copy the symbol def to the active document very > easily. It would be nice if there was just some kind of Object Copy > method that could work between documents. > > Anyway, any suggestions, hints, tips, or flat out denials that it can't be > done would be appreciated by any and all (especially Autodesk employees) > TIA, > Bob S. > >
0 Likes
Message 3 of 3

Anonymous
Not applicable
Sanjay, Thanks for the workflow tip. I will see if I can get that to work, though I will now have to create a secondary template with all the relevant symbols already placed on a bogus sheet that I can use to copy them from, it may be better than nothing. Bob S. "Sanjay Ramaswamy (Autodesk)" wrote in message news:418a772a$1_3@newsprd01... > Bob, > > Currently, the only way to copy the definitions across documents is to do > the following: > > 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. > > Sanjay- > > "Bob S." wrote in message > news:418a4b64$1_3@newsprd01... >> If it is at all possible in IV9 now to do the following, I could use a > little >> help. I would like to: >> >> 1. Open a template drawing. >> 2. Get one of it's SketchedSymbolDefinition's >> 3. Copy the Definition to the active document's definitions. >> >> I am currently stuck on #3. I am aware of the Edit method to copy >> the symbol def sketch, and ExitEdit, but it doesn't really seem possible >> to use those to copy the symbol def to the active document very >> easily. It would be nice if there was just some kind of Object Copy >> method that could work between documents. >> >> Anyway, any suggestions, hints, tips, or flat out denials that it can't be >> done would be appreciated by any and all (especially Autodesk employees) >> TIA, >> Bob S. >> >> > >
0 Likes