Jump to content

Diesel Expression


Gentile Romano

Recommended Posts

Dear All;

 

300 is one of the text object,

the other text object is 1215/LP/300

 

Example:

If I change the above text to 100, the below text should change 1215/LP/101

I want to link the text object values as shown Image attached

I think this is enough explained......

 

Thanks

Romano

Merry Happy Christmas

Tutor.jpg

Link to comment
Share on other sites

Seems like you want to increment a number but your example (100 to 101), expressed in words, does not appear to agree with what you say in the attached image (300 to 301). Which is it?

 

Is 1215/LP/300 an attributed block?

 

Have you tried searching on....

 

"diesel expression"+"increment"

 

...to find examples of diesel macros that increment numbers?

Link to comment
Share on other sites

You need to use a formula in your field, select formula in the left hand column and in the formula box right click and choose insert field again. This time select object from the list on the left and then pick your text object that contains 300,pick the contents property (and click OK once), back in the formula add in "+1", that's it. If you change the value of the 300 text you will need to do a regen but the field will update accordingly.

Formula1.PNG

formula2.PNG

formula3.PNG

Link to comment
Share on other sites

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