manually editing field names in sketch text

by Nate Hekman on July 14, 2008

If you find yourself clicking the “Insert field…” button in Sketch Text several dozen times a day, you may be unaware of a convenient shortcut.

Let’s say, for example, you have several anchors and you want to display the bond length, spacing, resistance and capacity for each.  That’s four visits to the “Insert field” dialog box for each anchor.  Carpal tunnel problems are not far behind.

To simplify the task, just use Insert field to insert the four fields for one of the anchors.

Then select everything in the box (Ctrl-A), copy it to the clipboard (Ctrl-C), and paste it back in again (Ctrl-V).

Now you need to edit the second group.  See where it says “Reinforcements[1]”?  You need to change that “1” to a “2”.  Instead of clicking on it (which just puts you back in the Insert field box), hold down the Ctrl key while you click.  That will position your cursor where you click, so you can now edit the text.  (Or you can use the arrow keys to move your cursor into the field name.)

Do the same for any additional anchors, and click on your drawing to position the text just as you normally would.

[Note:  While I was trying this out for this blog, I noticed the fields did not always show up as blue underlined text.  Normally that would indicate they are not valid fields, but in this case it appears to be a bug.  When you insert the text on your drawing, all the fields are interpreted correctly.  There’s just something strange going on in the edit box itself.  Guess I’d better get back to programming!]

{ 2 comments… read them below or add one }


mowgli 05.08.14 at 2:43 am

Say Chief, is it possible to manually (somehow) modify dynamic text to get on a model a RESULT of simple arithmetic operations, e.g. :
x(in point 1)=15 m and x(in 2)=10 m, but i want to have this distance (x(1)-x(2)) to be variable, namely to have on my modell/drawing dynamic text like “5 m” and not “10 m” and “15 m” separately?
I appreciate your future possible help!


Nate Hekman 05.08.14 at 10:21 am

Hello Mowgli. No, the dynamic text is only used to get at properties of objects in your model. There is no arithmetic built in, though I like the idea.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>