RocketBott Posted March 26, 2009 Posted March 26, 2009 Help please, I am tring to create a block with attributes that acts like a string of text. At the moment I have a string of text to represent a wire K201/1.0mm/GY - TB[25] or TB[25] - K201/1.0mm/GY dependant on which side of equipment it's attached to. I need to extract the K201 (wire No.) part to a text file. All text in the string can change dependant on No.,Size,Colour,Destination. I have done this with a dynamic block (dwire.dwg) using fields to display the attributes but there are a few problems with this - having to regen, Anonymous Name of block, possible to overwrite field. A normal block with attributes (wire_right.dwg) works ok but gaps have to be left to accomadate long wire No.s and destinations which looks goofy & takes up too much space on the drawing. Is there any way to have attributes move insertion point based on the length of a textstring in another attribute? Thanks wire_right.dwg dwire.dwg Quote
Ritch7 Posted March 26, 2009 Posted March 26, 2009 see the bottom of the page theirs 3 or 4 threads on this Quote
RocketBott Posted March 26, 2009 Author Posted March 26, 2009 Sorry I have looked back 3 pages and can not see anything relevant & I spent most of the morning searching here & on google with the dynamic block being the result but it's not the best option. Could you post a link please. Quote
JonSnow Posted March 27, 2009 Posted March 27, 2009 In addition, if you're using a lot of electrical components and schematics it might be worth AutoCAD Electrical. It has functions that can automatically generate terminal diagrams like you've been looking at and many other things that speed up electrical technical drawings. The reason I mention this is that the wire numbers and references bit that you're trying to create is a part of Electrical and this is built from the individual parts of the text string that you have so each part is already a separate identity. Quote
RocketBott Posted March 30, 2009 Author Posted March 30, 2009 Yes Jon you are so right we have ELECDES for automated schematic to wiring diagram but still have to modify/redraw some existing drawings so they are in regular AutoCAD. The company is even looking at downgrading to LT. I have sorted out a Lisp to extract the wire Number only. Thanks Quote
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.