
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Please abide by the
rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Author |
Topic Search Topic Options
|
JWilson63
Newbie
Joined: 26.Nov.2011
Location: United States
Using: ACAD 2012 LT
Status: Offline
Points: 2
|
Topic: Create CAD blocks that work like Visio shapes Posted: 21.Dec.2011 at 16:36 |
We use Autocad exclusively and I've been building a library of blocks to use in our HVAC control drawings. What I'd like to do is to have a ductwork blocks that will "clip" what it's connected to the way similar "shapes" in visio work. ie: A perpendicular block will clip the line where it connects to a horizontal block.
I tried creating a line segment to plot white which seemed the simplest approach but it will not "print" white and therefore defaults to black.
These blocks are to be used by less experienced people so I'd like to avoid any kind of commands if possible
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 21.Dec.2011 at 18:01 |
Use a wipeout.
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
heinsite
Senior Member
Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
|
Posted: 21.Dec.2011 at 23:10 |
I would suggest building a library of dynamic HVAC blocks with the properties you need. "Clipping" can be done there with visibility states, but only for elements within the blocks themselves, not for objects you might be connecting them to. So your block designs will need to consider your typical workflow.
Dave.
|
Dave Hein, P.E. Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 22.Dec.2011 at 01:23 |
Since the OP wants the simplest approach and states that the blocks are to be used by people with less experience than he has would a Dynamic Block still be a good solution?
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
heinsite
Senior Member
Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
|
Posted: 22.Dec.2011 at 02:00 |
Unless I'm missing something a wipeout would require a separate step... and require its own training effort. There's hardly any additional training required to go from inserting static blocks to dynamic ones, esp if the "clipping" part of the process can be accomplished as part of the insertion operation itself.
We're getting to the point where the OP might want to attach an example of what he's trying to do. I'm still kind of guessing at what the problem is since I'm not familiar with Visio shapes and how they're used in HVAC design.
Dave
|
Dave Hein, P.E. Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 22.Dec.2011 at 11:42 |
Well to me it sounds like the OP has HVAC symbols he wants to insert over lines. He wants to somehow block those lines from showing. The better approach would be to break the line upon insertion of the symbol which I believe can be done as part of the insertion process itself. This means there would be no wipeout or dynamic block required.
There is one other option and that would be to use a lisp routine that works in conjunction with the block insertion. I'm not sure whether the OP or his co-workers would be agreeable to this approach.
Edited by John Connor - 22.Dec.2011 at 12:47
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
heinsite
Senior Member
Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
|
Posted: 22.Dec.2011 at 21:37 |
My guess is the LISP idea would break the OP's training bank. This question reminds of something I've thought of before and that might be suitable for the AUGI wish list: Masks for Blocks. If masking was available it would work for a problem like this one.
Short of an actual example from the OP I tend to agree that some of this might easily be solved with intellegent block design... dynamic or not.
Dave.
|
Dave Hein, P.E. Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite
|
 |
heinsite
Senior Member
Joined: 05.Feb.2009
Location: United States
Using: AutoCAD 2014
Status: Offline
Points: 640
|
Posted: 23.Dec.2011 at 01:43 |
After a bit of tinkering and looking around I may have found the solution... and it's not something new. Others have struggled with this as well, and until we can directly mask blocks it's the best we'll have.
The trick is to create the blocks with "masks". Here's how:
1. Create the block and put a shape around it with or without buffer space depending on what your block will be doing; 2. Hatch the shape with a solid hatch, color white with 0% screening; 3. Put the shape and hatch below the block and any attribute objects; 4. Plot a preview and see how it looks; 5. As necessary tweak the CTB/STB file(s) used for printing to get suitable results.
It took me a bit of color tweaking... but it works.
Dave.
|
Dave Hein, P.E. Hawaii District Engineer Kona International Airport AutoCAD Certified Professional Autodesk Expert Elite
|
 |
JWilson63
Newbie
Joined: 26.Nov.2011
Location: United States
Using: ACAD 2012 LT
Status: Offline
Points: 2
|
Posted: 23.Dec.2011 at 16:06 |
Gentlemen,
Thanks for all the responses:
John: The wipe out works pretty well and you hit the nail on the head. If I insert a symbol or block I want to hide the underlying line. LISP may be a bit over my paygrade and I only have ACAD LT for my other guys. I think LISP support excluded from the LT version.
Dave: These will be part of a dynamic block in some cases. I also like your idea as well and it's similar to my original approach which was to print "white" where I need to hide the under lying line. When I do this with my pen set as white and preview a plot to PDF, the white is always shown as black. I'm using the default CTB. Am I missing something?
Thanks for the help
Happy Holidays!
Jack
Edited by JWilson63 - 23.Dec.2011 at 16:08
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 23.Dec.2011 at 16:19 |
Jack: You are correct. There is no support for lISP in AutoCAD LT. Unless a diesel macro was available there is no programming solution to your problem and Dave's solution might be the best choice.
Good luck.
Merry Christmas Jack
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |