Jump to content

Help developing a block


Recommended Posts

Posted

Hello,

 

I am using AutoCAD 2009LT:

 

I am working on developing a titleblock that will display the following info:

 

I:X/01

I:X/02

thru...

I:X/15

 

The X is the variable (use attribute?) I am looking to only input 1 time when I open the block, but this number will be displayed on all 15

lines as above. By the way, X is simply a port # such as 0, 1, 2 etc. Not that you need to know but I:X/01 is as follows: I=means input card, X=slot #, 01 thru 15=port #.

 

As an example, when I open the block, I want it to ask me the SLOT #. Once I enter this # one time, say # 4, it will display as:

 

I:4/01

I:4/02

thru

I:4/15

 

Thank you for your help.

Posted

I'm not an expert on fields, but I think they would work here.

Posted

Are you looking for it just display the "/" or to actually perform the math? If you just want to display them, the wonderful Ms. Finkelstein went over this on her blog. Just set up the field in an Mtext entity and type in the /# after the field.

Posted

Figured it out with fields. Thanks to all...

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...