Jump to content

Recommended Posts

Posted

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

Posted

see the bottom of the page theirs 3 or 4 threads on this

Posted

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.

Posted

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.

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...