I have a lisp program that I use to automatically insert components and update the catalog information. Works great on single components but came across a problem when I try to use the (c:ace_multipole) command.
The following is from from my lisp program.
(setq LastEnt (c:ace_mulitpole "h:/electricalcatalogs/libs/iec2/vcb1" 4 (list x y) 21)
(c:wd_modattrval LastEnt "CAT" CatalogNo)
(c:wd_modattrval LastEnt "MFG" Manufacturer)
It inserts schematic symbol "VCB1" as a 4 pole circuit breaker, builds it to the right, with no prompts for catalog info. I want the catalog info to be inserted automatically (which the wd_modattrval command will do). The problem is LastEnt is not set to anything when I use ace_multipole. (see attached).
I can create code to use my x y insertion point, filter for the block name (VCB1), and then update the catalog info but I want to know if there is an easier way before I go that route.
Any suggestions?