Creating a custom text

Creating a custom text

Anonymous
Not applicable
919 Views
2 Replies
Message 1 of 3

Creating a custom text

Anonymous
Not applicable

Hi all,

 

Im looking for some guidance on creating a line of text that I want to insert into a drawing.

I want the first part of the text to be of fixed content and the second half to be editable.

I.E. Floor to ceiling height: 0.00

 

The 0.00 being changeable.

Id also like the text to be aligned with the UCS when I insert it into my drawing.

I appreciate this is probably basic stuff to you all but Id appreciate some guidance.

 

Thanks very much.

0 Likes
Accepted solutions (1)
920 Views
2 Replies
Replies (2)
Message 2 of 3

MMcCall402
Mentor
Mentor
Accepted solution

Three ideas come to mind:

1) Add an attribute and fill in its default value with the static text. When the block is inserted you can then add to that value with whatever you like.

 

2) Add the static text as an Mtext and then strategically place an attribute for the editable portion.

 

3) Add a user parameter for the 0.00 value.  Add an Mtext wit all the static text and a filed for the value of the user parameter.   The value of the parameter can be edited in the properties palette after the block is inserted.  You could skip the user parameter and just make the field to show the Z value of the block.  Once inserted you just set the z value of the inserted block.

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

Message 3 of 3

Anonymous
Not applicable

Thanks for the advice.

To go a little further.. When I insert the text as a block, its inserted as my current layer.

Can I alter this so that its inserted as the layer it was created to be in the first instance and not the current layer in the drawing?

0 Likes