Kuba,
> Just to make sure I undestand: when you parametrize the position of
> something, you are still supposed to be able to move it around via
> XCF_Move?
Yes. The substitute and writeback routines should handle the copying
of the position information between the element and the parameter
structure. You should be able to move around locally. If you refresh
without doing a writeback, the refresh will copy the parameters back
into the element, and you will revert back to the position it was in
before. If the error is in your code, not mine, then this is probably
what you have done: invoked an extra refresh without writing new
values back the parameter structures. But I thought that should have
been done right after the "move" command was executed. Did you remove
the writeback call?
> OK, my bug looks as follows: if I place a wire on the empty page, I
> can parametrize its position and everything is fine -- I can still
> move it around. If I place any library element on the page and parametrize
> the position, I can't move that element around. This is very likely
> broken by myself.
Just to be clear: To select a wire and attempt to parameterize its
position as a whole is probably an undefined procedure and I have no
idea what the consequences might be. If you want to parameterize the
position of a wire, edit it and parameterize the position of a point.
I will check my code to see if it is possible to parameterize an
entire polygon (it should be; I just think I never implemented it.
Maybe). If I make code changes to correct this bug/feature/whatever,
I'll let you know.
---Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: [email protected] |
| Open Circuit Design, Inc. | 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