Community
AutoCAD MEP Forum
Welcome to Autodesk’s AutoCAD MEP Forums. Share your knowledge, ask questions, and explore popular AutoCAD MEP topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why won't this work???

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
203 Views, 4 Replies

Why won't this work???

(defun C:Test ( / ) 

; Insert the light fixture drawing

   (command "-insert"
"s:/caddstds/data/abs/content/imperial/schedules/electrical tags/light fixture
tag 3.dwg" "0,0" "" "")

; erase the light fixture drawing, but keep the
block definition in the dwg database
   (command "erase" (entlast)
"")

; add the light fixture tag
  
(command "_aecannoscheduletagadd"
"s:/caddstds/data/abs/content/imperial/schedules/electrical tags/light fixture
tag 3.dwg" "_symbol" "Aecb_Light_Tag" "_leader" "none" "_dimstyle"
"current")
   (princ)
)

 

It doesn't seem to be running through the symbol, leader and dimstyle
options because the tag comes in really, REALLY small.

Does anyone have any ideas why??

 

Thanks in advance!


--
Matt W

 

There are 3 kinds of people:
  Those who can count, and those who
can't.
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

Is anyone out there?!?

Am I all alone?!?

HELLO   (echoing -- hello 
hello  hello  hello)


--
Matt W

 

There are 3 kinds of people:
  Those who can count, and those who
can't.


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

(defun C:Test ( / ) 

; Insert the light fixture drawing

   (command "-insert"
"s:/caddstds/data/abs/content/imperial/schedules/electrical tags/light fixture
tag 3.dwg" "0,0" "" "")

; erase the light fixture drawing, but keep the
block definition in the dwg database
   (command "erase"
(entlast) "")

; add the light fixture tag
  
(command "_aecannoscheduletagadd"
"s:/caddstds/data/abs/content/imperial/schedules/electrical tags/light fixture
tag 3.dwg" "_symbol" "Aecb_Light_Tag" "_leader" "none" "_dimstyle"
"current")
   (princ)
)

 

It doesn't seem to be running through the symbol, leader and dimstyle
options because the tag comes in really, REALLY small.

Does anyone have any ideas why??

 

Thanks in advance!


--
Matt W

 

There are 3 kinds of people:
  Those who can count, and those who
can't.
Message 3 of 5
Anonymous
in reply to: Anonymous

Hi Matt -

The scaling has nothing to do with
the symbol, leader or dimstyle. It is set by the current drawing scale and
annotation plot size. Do tags inserted directly from the design center scale
properly?

 
Message 4 of 5
asperks
in reply to: Anonymous

I'm having exactly this problem with ABS 2005. I have the units set, in my original attributes drawing as mm, 1:1, and no dimscale overrides. The same in the drawing that contains that definition as a multi-view block. I then have the units set as 1:100 in my working drawing, and the device comes in at the correct scale. When I drag the content from the AEC content folder, it comes in correctly, but when I use the annoscheduleadd command, it comes in super small.

I've been trying to figure this out for days.
Message 5 of 5
asperks
in reply to: Anonymous

Dear Sirs,

After a deafening silence from Autodesk, it became clear that there was, and still remains, no non-programmable solution for this problem. I had to write a completely separate annotation command for all devices (including mvparts and panels too). ABS actually requires you to insert the drawing file that contains the tags you want to use, before you can access the tools available from the tool palettes. Basically, you can't define annotation commands in tool palettes unless the drawing file containing those tags already exists within the drawing. Utter madness.

I can confirm that ABS 2006 still has this as an outstanding issue, and I would suggest that if you don't have programming resources within your organization that can create tailored applications for ABS, you should have serious concerns about whether you should bother with the ABS product at all.

Sincerely,

Anthony

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost