Hello Philip,
First I did as I have done in the past. "Edit>Save
Technology". But when I use the popup and pick "gear_dsp",
the filename either blank or jibberish and when I write it, it
puts it in my current directory - NOT the directory containing
the original technology file.
I tried copy/paste the entire path and filename into the
dialog box - but that overwrote the technology rather than
appending - so I lost all the objects already in it!
After recovering the technology, I re-edited the solus16 to
make solus8 - but this time used "file>write-all". This
didn't loose all my existing objects - but it also didn't add
the new one.
The fix I made a couple of days ago should have taken care of
paragraph (1)---no more gibberish. It will instead give you the
filename of the "gear_dsp" tech file.
The fix I just pushed to the git database will now prevent you
from writing back the several objects you imported from the tech
file back to the same techfile, overwriting the original contents.
Instead it will say "Attempt to write a truncated technology file".
If you give it a new filename, it will write those imported objects
to the new file. You could then, if you wanted, import more objects
from the original tech file and they will be added to the new one
every time you write.
The alternative is to just make sure that if you want to edit or add
to an existing technology file, that you load the whole file, not
just import a few objects from it. Then when you edit an object or
add a new object to the set, they will all get written back to the
file with no problems.
I thought about writing a routine that would actually merge the new
object back into the existing tech file, but it was looking like a
lot of coding work for a feature that can be handled in other ways.
From earlier in your email:
> My new object (solus8) is similar to an existing object
> (solus16), so I loaded solus16 from technology "gear_dsp" into
> library "equipment", copied the object to a page, used ">" to
> push, selected all the pieces, pushed "c" to copy, "<" to pop,
> then pasted the copy on the page.
This works, although there is an easier way, which is to go to the
library page, select the object (middle mouse button), then type "C"
for "copy", and you will see the object copied. The name of the new
object is changed from the old by prepending "_" to the name. It is
preprending to the tech prefix, though, which I should probably fix,
since it is more likely that you would be creating a new object in the
same technology.
I hope that addresses your issues, finally!
Regards,
Tim
+--------------------------------+-------------------------------------+
| R. Timothy Edwards (Tim) | email: [email protected] |
| Open Circuit Design | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-5030 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev