hi.
I wish everybody a Happy New Year!
I have two vlx file.
blocktotable.vlx --> command : bt
blocktotextli.vlx --> command : bt
two vlx files have same command.
but I want to
blocktotable.vlx --> command : bt
blocktotextli.vlx --> command : bxt <--- like this
of course, I know that cannot modify vlx files
how to use command : bxt
Give me some feedback.
Solved! Go to Solution.
Solved by regisrohde. Go to Solution.
@nychoe1 wrote:
hi.
I wish everybody a Happy New Year!
I have two vlx file.
blocktotable.vlx --> command : bt
blocktotextli.vlx --> command : bt
two vlx files have same command.
but I want to
blocktotable.vlx --> command : bt
blocktotextli.vlx --> command : bxt <--- like this
of course, I know that cannot modify vlx files
how to use command : bxt
Give me some feedback.
If you cannot change the code or contact one of the authors... then you can load it each time you run it to make sure it's the last one. (but you need to change the both names.)
(defun c:bta nil (load "blocktotable.vlx") (c:bt) (princ) ) (defun c:bxt nil (load "blocktotextli.vlx") (c:bt) (princ) )
if not have the source code can use the following "alternative solution".
Save the VLX 2 on c :, and then change the path in the code below:
(defun c:bxt()
(load c:\\blocktotextli.vlx)
(c:bt)
(load c:\\blocktotable.vlx)
(princ)
)
... and thats exactly why you should always use verbose command names. Let the user set up the PGP file, or a LISP wrapper function, or whatever if they want to use BT, or BTX, etc.
Old threat but:
1. For
" blocktotable.vlx --> command : bt
blocktotextli.vlx --> command : bxt <--- like this...
how to use command : bxt"
You might make a routine of some name, like C:BXTT,
that would load only 'blocktotextli.vlx' and then
execute its 'C:BT' command.
Same for blocktotable.
2. And I repeat, beware of the contents of
things you cannot see, as in VLX and FAS.
Can't find what you're looking for? Ask the community or share your knowledge.