I have a routine, developed for me through this forum, that selects text or mtext, converts to mtext if not already, and puts a background mask with 1.1 border. I was using it fine in Map 3D 2007, but have recently switched to Civil 3D 2012 where it does not work. I get this error message:
; error: no function definition: VLAX-ENAME->VLA-OBJECT
The lisp routine is attached.
Why does this not work in 2012? Can someone help me to get it to work?
Solved! Go to Solution.
Solved by alanjt_. Go to Solution.
Are you trying to use this on the label styles or just regular text or mtext in Civil 3D? The label styles in Civil 3D have the option of using a background mask or not, you just have to set it in your label styles. HTH
Good catch, I didn't look at the code. I read a post in the Civil 3D forum that was trying to that to labels and no go.
Some other piece of code or the startup file must have loaded the ActiveX functions. It only has to be executed once per cad session. I keep it in my startup file.
Congrats on the end of summer. haha.
What can it be when (vl-load-com) doesn´t do the trick?
All my lisps work just fine.. and then they don´t. So I have to reinstall autocad to have them working again, and this every week. It works for a while than it starts getting this error message again (; error: no function definition: VLAX-ENAME->VLA-OBJECT).. I searched every where in the web and still couldn´t find the answer to this. I don´t know if this helps, but all lisps I use are related to area command.
Please help!!!