we are electrical consultant firm and i would like to make a block where i can insert a lighting fixture etc at different scales and have the lighting type and switch type etc come in. I am not sure how to do this, can someone help me?
we work in 2d so we have 2x4 fixtures. Receptacles etc and all I want to do insert a block and when I insert them on the plan the fixture type would come and ask what type I would like , also for receptacles. i was looking in the autocad book but you need a micro make this work and i am not sure how to do that.
May I ask, and I'm not being rude: are you, or all of you at the firm, new to AutoCAD?
And are you using plain AutoCAD (where you are posting), or AutoCAD Electrical (designed for your industry with lots of built-in features you would need)? OF AutoCAD MEP version?
AutoCAD choices for what you want are:
- Create one block for each type of fixture you need. Each with specs spelled out in the block. Simplest fix.
- Create a generic block (for example, on block for 2x4 lights) but then use visible attributes (text basically) to assign a code to the symbol (for example, LIGHTOLIER on one line and HP90xyz on another and so on). Next level of complexity, but still easy to create.
- Create a master DYNAMIC block where you toggle through many views and options to end up with what you desire. Most time consuming but the ultimate solution.
- If you are actually using AutoCAD Electrical, consider asking your peers in that forum instead as that version may already have the tools you want: http://forums.autodesk.com/t5/AutoCAD-Electrical/b
AutoCAD MEP forum is at: http://forums.autodesk.com/t5/AutoCAD-MEP/bd-p/61
Be more detailed in your posts and responses.
Have you done any searches here on the forums to see if what you are envisioning has been posted already? I did electrical waaaay back in the late 80's and there were already electrical and lighting libraries being developed back then. Check the default tool palettes that come with AutoCAD for some dynamic lighting blocks - they may not be a good fit, but they could give you some clarity on how to scheme for what will work best for you. If you need help with developing dynamic blocks, I can help some. I will steer you toward learning how to fish rather than fishing for you though!
It sounds like the block you were accustomed to might have had attributes (with your AutoCAD settings set to "Prompt upon insertion"). As Dean mentioned, besides containing graphical information, blocks can be created to have "attributes" which are data forms that you might want to attach to the block. These can be invisible or visible, you can set default values, and like I said, the user can be prompted when inserting them too. The insert command is typically run as follows:
This can be through the INSERT comand using the dialog box or through the -INSERT command using the command prompt. Through menucode or Lisp programming several variations of this can be created. Tool Palettes also offer an easy way to create insertion tools that place your block on the correct layer and rotate or scale it or all three or even more things without writing any customization code. Here'a a screenshot:
Access a broad range of knowledge to help get the most out of your products and services.