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

    AutoCAD Electrical

    Reply
    Contributor
    Posts: 19
    Registered: ‎08-13-2012

    Customized component family names

    264 Views, 3 Replies
    09-13-2012 02:28 AM

    Hi,

     

    Please help on the below questions.

     

    How we can change thecomponent family names as per our requirement?.

     

    Regards,

    Rajesh.

    Please use plain text.
    Employee
    Posts: 458
    Registered: ‎08-01-2007

    Re: Customized component family names

    09-13-2012 11:41 AM in reply to: psrajesh4u

    Rajesh,

     

    Here is some information from the Help -

     

    A component’s family name can be overridden at insertion time, during a later edit, or automatically using the wd_fam.dat mapping file. The wd_fam.dat file overrides the family tag code of library symbols by mapping the codes to new values. The tag code of a symbol is used in generating the tag-ID of inserted components, such as the “PB” of tag-ID “PB101.”

    AutoCAD Electrical searches for this mapping file in the following order:

    1. User subdirectory

      Windows XP: C:\Documents and Settings\{username}\Application Data\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support\User\

      Windows 7: C:\Users\{username}\AppData\Roaming\Autodesk\AutoCAD Electrical {version}\{release}\{country code}\Support\User\

    2. Active project's .wdp file subdirectory
    3. All paths defined under AutoCAD Options Files Support Files Search Path

    Depending on how you want to override component family names, you can move the wd_fam.dat file into the various locations mentioned above.

    • To always substitute a new family value for all projects you create, place the file in the User folder. (option 1)
    • To use AutoCAD Electrical defaults most of the time but sometimes override them with project-specific defaults, place the file in the project folders for the project you want to override. You can have different defaults for each project. (option 2)
    • If you want a default override from the AutoCAD Electrical default values, but sometimes want a project override to the global override, you will want to use option 3 and 2. Place the file somewhere in the AutoCAD support path, like “C:\Program Files\Autodesk\Acade 20xx\Acade,” and then when you want to override these values, place the file in the project folder.

    Regards,



    Pat Murnen
    Principal Content Developer
    Information Modeling and Platform Products Group

    Autodesk, Inc.

    Please use plain text.
    Contributor
    Posts: 19
    Registered: ‎08-13-2012

    Re: Customized component family names

    09-13-2012 08:09 PM in reply to: psrajesh4u

    Hi,

     

    Thank you for your reply.

    Unfortunately I am not able to find out wd_farm.data file in my system. Following the path name from the Help menu & Search result of the wd_farm.data file is zero. What to do for solve this ploblem?. please help.

     

    regards,

    Rajesh

    Please use plain text.
    Employee
    Posts: 458
    Registered: ‎08-01-2007

    Re: Customized component family names

    09-14-2012 10:56 AM in reply to: psrajesh4u

    Rajesh,

     

    AutoCAD Electrical does not supply a WD_FAM.DAT file since the libraries provided follow the standards for component family names. The file is used to override the default family names.

     

    You can use a simple text editor such as Notepad to create one and place it in a folder based on the information I provided earlier. The WD_FAM.DAT file is a text file in the format of <old>, <new>.

     

    Here is an example:

     

    MOT,MTR
    PE,PEC
    PX,PRS
    PW,PWS
    FS,FLS
    FLT,FS
    TD,TR

     

    Regards,

    Pat



    Pat Murnen
    Principal Content Developer
    Information Modeling and Platform Products Group

    Autodesk, Inc.

    Please use plain text.