I am using Circuit Builder to insert circuits using the c:ace_cb_nested API call.
(c:ace_cb_nested fnam xyz options_lst)
I know that by using a (list 25 35 0) syntax, c:ace_cb_nested recognizes the coordinates 25,35,0 and places the circuit properly.
But I can't find the proper syntax to use a LISP variable in Circuit Builder.
The closest I've come is this:
(C:ACE_CB_NESTED "I:/DEV0/TEST/TEST1/1234/OLD/OLD.DWG" (list (car coNextNode)(cadr coNextNode)(caddr coNextNode)) #data )
This works if I manually enter it in the command line. But it won't work by running the same code through Circuit Builder.
Does anyone know the proper syntax to make the c:ace_cb_nested API call allow the input of a coordinate through a LISP variable and executing it in Circuit Builder?
Thanks in advance.
I tihnk the issue here is that variables defined in one program are not known by other programs. So Circuit Builder can't "see" variables defined outside of Circuit Builder. There are calls to make variables visible but so far I am not having success in getting it to work in the ace_cb_nested API call within Circuit Builder.
I am still trying various methods and will let you know if I find one that is successful.
So far I have not found any method that allows passing a variable set outside of Circuit Builde to this API. I feel like I am missing something obvious so maybe someone else will see this post and provide their solution.
I will log a wishlist item that it would be nice to have a way to put a variable in here.
Sorry I wasn't more help.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions to get help installing your software.
The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.