Grenco Posted July 22, 2010 Share Posted July 22, 2010 Couldnt find it with the search so here is my question: Our company works with autocad to draw P&ID's. We got a small thing that may saves us a lot of time. Our drawing contains a lot of crossing lines wich need to be trimmed. Is there a way in autocad to automatic hide a part of a (horizontal or vertical) line when it is crossed by another line. It would be perfect if the line is still one single line. See attachment for example: Quote Link to comment Share on other sites More sharing options...
ReMark Posted July 22, 2010 Share Posted July 22, 2010 It sounds more like you want to "mask" a portion of the line. Is that correct? Quote Link to comment Share on other sites More sharing options...
Grenco Posted July 22, 2010 Author Share Posted July 22, 2010 Uhm... sort of wipeout idea, yes.... Quote Link to comment Share on other sites More sharing options...
dbroada Posted July 22, 2010 Share Posted July 22, 2010 AutoCAD electrical can do this this and I therefore assume AutoCAD P&ID can too (if you have deep pockets). However electrical leaves the lines as individual elements that remain "joined" through its internal database. They don't automatically repair themselves if you remove the "cutting" line. At least I don't think so, must give it a try. I think I would go down the wipeout route if it were me Quote Link to comment Share on other sites More sharing options...
Grenco Posted July 22, 2010 Author Share Posted July 22, 2010 We use are own created autoCAD P&ID But it's just a basic autocad. Can you create a linetype in autocad with a wipeout along the side of the line? Is that an idea? Only one problem: it probably wil a completly blank cross... Quote Link to comment Share on other sites More sharing options...
ReMark Posted July 22, 2010 Share Posted July 22, 2010 Why does the line have to remain one continuous line? Perhaps a lisp routine could be developed that would place a pre-defined (polyline) wipeout frame on either side of a line at all designated locations. It may also have to include the option of rotating the frames depending on whether it is being used horizontally or vertically. Quote Link to comment Share on other sites More sharing options...
Grenco Posted July 22, 2010 Author Share Posted July 22, 2010 I think it would be more easy to edit. Like when there is no crossing line anymore, it changes instantly back to a normal line with no extra command for healing/joining your 2 lines. It's also more easy when you move or stretch. Quote Link to comment Share on other sites More sharing options...
ReMark Posted July 22, 2010 Share Posted July 22, 2010 OK. Then I think I've given you your answer. Quote Link to comment Share on other sites More sharing options...
Grenco Posted July 22, 2010 Author Share Posted July 22, 2010 Well... My Lisp isn't that good... It's also a kind of hard routine to make! I guess I have to disappoint my co-workers... Quote Link to comment Share on other sites More sharing options...
Grenco Posted July 22, 2010 Author Share Posted July 22, 2010 By the way... Is there a way in VBA to find the coordinates of 2 crossing lines? If I have those points, I can place a wipeout.... Or place 2 lines... Quote Link to comment Share on other sites More sharing options...
ReMark Posted July 22, 2010 Share Posted July 22, 2010 I'm sure there is but you'll have to ask that question in another forum. There are several CADTutor members who could advise you on the coding. I'm not one of them. Sorry. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.