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

component editing

15 REPLIES 15
Reply
Message 1 of 16
uncoolperson
276 Views, 15 Replies

component editing

i'm planning to re-write the component editing... with my own dialog box, is there anything i should look out for, or is it straight-forward editing of the attributes?
15 REPLIES 15
Message 2 of 16
Anonymous
in reply to: uncoolperson

In some cases there may be AutoCAD "Xdata" values assigned to a component
that can substitute for an attribute. For example, parent component "Pin
list" data is saved on a parent relay coil symbol as either attribute value
PINLIST or, if this attribute is not present on the block insert instance,
AcadE saves this value on an Xdata tag "VIA_WD_PINLIST" (legacy prefix!).

You can view Xdata assigned to various AcadE objects by doing one of the
following:
1. Type ACADEX at command line and pick on object
2. Type WD_XDATA at command line and pick on object
3. Type this at command line and pick on object:
(entget (car (entsel))(list "*")) [Enter]
Look for entries starting at the "-3" point in the returned list.

When a block insert instance has both an attribute value and a corresponding
Xdata value, AcadE goes with the attribute value and ignores the Xdata
value.

Nate.


wrote in message news:4957920@discussion.autodesk.com...
i'm planning to re-write the component editing... with my own dialog box, is
there anything i should look out for, or is it straight-forward editing of
the attributes?
Message 3 of 16
uncoolperson
in reply to: uncoolperson

okay.... well no fancy stuff here...just tag1 and desc1, each component is just a block of an attribute, when our drawings are 50/50 smart/dumb the text being the smart part is easier for our drafters to understand.

I'm more concerned with updating a parent component with the wd_modattval (or whatever it was... i'm at home right now) and having the children update, it seems the updating functions dont like that our drawings are not part of a project (it's just safer, easier, and makes more sense for us).

any ideas, is there a magical function i'm not seeing?
Message 4 of 16
uncoolperson
in reply to: uncoolperson

insert diabolical mr. burns "excellent"
Message 5 of 16
Anonymous
in reply to: uncoolperson

NATE
I NEED TO EDIT BLOCKS HC01PJ AND HC01JP TO ONLY SHOW THE LOCATION CODE ON THE DRAWING. I HAVE TIRED TO EDIT THIS SEVERAL TIMES WITH ANY LUCK. I WANT TO WD DIALOG BOX TO OPEN AND PROMPT ME FOR THE LOCATION COME. CAN YOU EXPLAIN HOW TO DO THIS?
THANKS
Message 6 of 16
Anonymous
in reply to: uncoolperson

Hi Powerboss,

You mean that you enter a location value for the LOC attribute on this
symbol using the Insert/Edit dialog box but the attribute value you enter
remains invisible on the drawing? If so, the attribute is probably marked
invisible on the symbol. You can force it to be visible by selecting the
"Edit Attributes" toolbar button and pick on the graphics of the symbol (not
pick on an attribute of the symbol). A dialog will display and you can pick
on the LOC entry to flip it to "visible".

Let me know if this is what you are talking about. If so, then we probably
want you to edit the actual lib symbols so that the LOC attrib is always
visible.

Nate.


wrote in message news:5193953@discussion.autodesk.com...
NATE
I NEED TO EDIT BLOCKS HC01PJ AND HC01JP TO ONLY SHOW THE LOCATION CODE ON
THE DRAWING. I HAVE TIRED TO EDIT THIS SEVERAL TIMES WITH ANY LUCK. I WANT
TO WD DIALOG BOX TO OPEN AND PROMPT ME FOR THE LOCATION COME. CAN YOU
EXPLAIN HOW TO DO THIS?
THANKS
Message 7 of 16
Anonymous
in reply to: uncoolperson

I WANT USE THE EXISTING BLOCKS BUT ALL THAT I WANT TO SHOW WHEN THE COMPONT IS PLACED ON THE DRAWING IS THE SYMBOL AND THE LOCATION CODE. IT KEEPS WANTING TO PUT THE TAG NAME AND PIN NUMBERS IN PLACE. I HAVE ALOT OF THESE TO INSERT AND THIS WOULD SAVE TIME.
MIKE
Message 8 of 16
Anonymous
in reply to: uncoolperson

Well, I guess there are a couple options:

Option 1 - open the library symbols up in AutoCAD and change the properties
of the TAG1, TAG2, TERM01 attribute definitions to be "Invisible"
Option 2 - after you insert the symbols and the TAG and pin numbers pop in,
use the "Hide Attribute" tool (under the "Edit Attributes" toolbar flyout)
and pick on all the attributes you want to become invisible.

Would either of these work for you?
Nate.


wrote in message news:5194137@discussion.autodesk.com...
I WANT USE THE EXISTING BLOCKS BUT ALL THAT I WANT TO SHOW WHEN THE COMPONT
IS PLACED ON THE DRAWING IS THE SYMBOL AND THE LOCATION CODE. IT KEEPS
WANTING TO PUT THE TAG NAME AND PIN NUMBERS IN PLACE. I HAVE ALOT OF THESE
TO INSERT AND THIS WOULD SAVE TIME.
MIKE
Message 9 of 16
Anonymous
in reply to: uncoolperson

i WOULD LIKE TO SET THE BLOCK UP SO I ONLY HAVE TO DO IT ONE TIME. I WILL ONLY USE THE BLOCK IN THIS FASHION
Message 10 of 16
Anonymous
in reply to: uncoolperson

Okay, so you know what to do, right? You open up each of the two symbols in
AutoCAD (from the correct library path) and flip the target attribute
definitions to be "invisible". Then, on new drawings where you've not used
the old version of either symbol, you should start seeing the connector
symbols come in with the attribute "pre-hidden".

Nate.

wrote in message news:5194185@discussion.autodesk.com...
i WOULD LIKE TO SET THE BLOCK UP SO I ONLY HAVE TO DO IT ONE TIME. I WILL
ONLY USE THE BLOCK IN THIS FASHION
Message 11 of 16
Anonymous
in reply to: uncoolperson

DO I SAVE THE FILE BACK IN PLACE OF THE ORIGINAL?
Message 12 of 16
Anonymous
in reply to: uncoolperson

yes, just overwrite the original, no problem

wrote in message news:5194194@discussion.autodesk.com...
DO I SAVE THE FILE BACK IN PLACE OF THE ORIGINAL?
Message 13 of 16
Anonymous
in reply to: uncoolperson

Nate, I have done something to HC01PJ block. It will not call up the insert/edit dialog box. I have changed everything back but it still is not working. Any Ideas
Message 14 of 16
Anonymous
in reply to: uncoolperson

Hi,
Are you trying to insert this symbol into a brand-new, clean drawing? If
not, it could be that you have an "unpurged" version of the old messed-up
block definition in your existing drawing. Try it on a clean drawing.
Nate.

wrote in message news:5196878@discussion.autodesk.com...
Nate, I have done something to HC01PJ block. It will not call up the
insert/edit dialog box. I have changed everything back but it still is not
working. Any Ideas
Message 15 of 16
Anonymous
in reply to: uncoolperson

On a clean drawing it will not work, but on a existing drawing it will work. That what's got me stumped.
Message 16 of 16
Anonymous
in reply to: uncoolperson

Okay, I've attached a zip file with an original JIC125 lib version and the
IEC2 lib version of the symbol. Unzip the appropriate one over the top of
the one that you were trying to modify to get back to the original state. If
neither one of these is what you were working on, let me know and I'll send
the correct library version of the symbol.
thanks,
Nate.

wrote in message news:5198297@discussion.autodesk.com...
On a clean drawing it will not work, but on a existing drawing it will work.
That what's got me stumped.

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

Post to forums  

Autodesk Design & Make Report

”Boost