• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Electrical

    Reply
    Distinguished Contributor
    Posts: 165
    Registered: 02-21-2009
    Accepted Solution

    Mapping catalog information for cables into visible attributes on dwg´s

    208 Views, 12 Replies
    02-02-2012 04:38 AM

    Hi there,

    I´m trying to find out how to map catalog information for cables into attributes on dwg´s in my project. I have attached an image that shows what I´m trying to establish. Any hints are deeply appreciated.

    Regards, Gary

    Active Contributor
    Posts: 31
    Registered: 02-04-2010

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 05:36 AM in reply to: CAD-ICE

    What I would do is use the TEXTVALUE field (under the USERx fields), and would want the RATING1 attribute to be filled with the info you want. To do this, type excatly this in the TEXTVALUE field to achive your specific example result: RATING=4X4 MM² CU

    Evan Jensen
    Electrical Design Engineer
    UNIQUE HYDRA (PTY) LTD
    A Unique Maritime Group Company
    Active Contributor
    Posts: 31
    Registered: 02-04-2010

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 05:39 AM in reply to: evanjensen4116

    for more info see help topic on "TEXTVALUES" - rating and miscellaneous attribute value assignment

    Evan Jensen
    Electrical Design Engineer
    UNIQUE HYDRA (PTY) LTD
    A Unique Maritime Group Company
    Distinguished Contributor
    Posts: 165
    Registered: 02-21-2009

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 06:34 AM in reply to: evanjensen4116

    Dear Evan,

    I tried that already i.e.. Added a RATING1 attribute to the symbol and inserted as you proposed the following text into the textvalue field "RATING=4X4.0 MM² CU" Instead of inserting the textvalue as expected, the software looks up the catalog conductor list and inserts that into the "Wire/Color Id" field in the insert / edit cable marker (parent wire) dialog box (see attached image) ?? Any comments ??

    Regards, Gary

     

     

    Distinguished Mentor
    Posts: 533
    Registered: 03-09-2004

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 07:21 AM in reply to: CAD-ICE

    In the database, each record has a TEXTVALUE field. This is where you would place the RATING1=4X4.0 MM² CU value. Then, when you select that catalog number, the Rating value will automatically be filled in in the Insert/Edit Component dialog box.

     

    Hope that clears it up...

    Bob Hanrahan
    Ace User since 1998
    Distinguished Contributor
    Posts: 165
    Registered: 02-21-2009

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 07:56 AM in reply to: testsubject

    Dear Bob,

    did you read my last post and look at the attached image. Seems like the textvalue field has different behaviour when there are cable markers involved? As can be seen on the image, the insert/edit dialog box does not show up with the Rating field but the Wire Color/ID field which I think is in some way connected to the conductor list for this cable.

    Thanks for your comments and help.

    Regards, Gary

     

     

    Distinguished Contributor
    Posts: 142
    Registered: 02-05-2008

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 08:07 AM in reply to: CAD-ICE

    As you noticed  RATING1 is used for Wire Color/ID.

    Add RATING2 attribute to cable marker block and use RATING2=4X4.0 MM² CU in TEXTVALUE.

     

     

    Distinguished Mentor
    Posts: 533
    Registered: 03-09-2004

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 08:15 AM in reply to: vladop

    Beat me by 7 minutes. I wanted to test it first... hehe

    Bob Hanrahan
    Ace User since 1998
    Distinguished Contributor
    Posts: 165
    Registered: 02-21-2009

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 09:24 AM in reply to: testsubject

    Hi Bob,

    just one other issue...in order to complete this task I need to reload the data from the component database. Is there a project wide utility to refresh data assigned to components such that the new data are retracted from the default_cat_mdb database?

    Thank´s again, Gary

    Distinguished Mentor
    Posts: 533
    Registered: 03-09-2004

    Re: Mapping catalog information for cables into visible attributes on dwg´s

    02-02-2012 09:41 AM in reply to: CAD-ICE

    I am not sure about that one. Just filling in the value using a script will not (afaik) initiate an update from the database. Sorry I could be of more help.

    Bob Hanrahan
    Ace User since 1998