I need to write an annotation template of a field comprised of 10 digits. How would I go about writing it just using that last five digits? Any help would be greatly appreciate it!!!
Thanks a million!
Solved! Go to Solution.
Solved by Murph_Map. Go to Solution.
I have tried but no success. The field looks like this: APINUM@well225b. Is this how I should write the function: SUBSTR: (APINUM@WELLB, -5, 5) ? The field is 10 digits long. Thanks!
Murph, can you also tell me how to annotation expression looks like when I want to use operators like / or * in expressions.
I want that text height is coming from object data numeric field and I need formula to divide value or multiply it. I tried (:od_field@ann_template)/2 or *2 not working also tried without parentheses.
The value in the OD may be a number but is it a integer or real? Look at the field in the OD definition and see if its a CHARACTER or REAL or INTEGER. If it's a character you need to use ATOF or ATOI to convert the "string" to a number that can be divided or mulitplied.
Look at the help topics Functions Reference (AutoLISP).
Data type is REAL. I cant get this working. How corect expression must looks like when lets see I want to divide object data real number data field(od_field).
Which variant is correct:
Hi kajar,
as you see in your post there are a lot of smileys as characters used in your text like this ( and that : results in that smiley (:
You have the option to use the "Insert Code" button (in the top line of that rich text editor with this icon: {i} and all within that part will not be converted to smileys.
At least it's like LISP is working and the formulas for division is like that:
( / 4 2) 'which means 4/2
Look to more details >>>here<<<.
-.alfred -
here is one example of divisions.
( / :LENGTH_MI@strts_clarksville 2 )
This divides the value of Length_mi in the OD table strts_Clarksville by 2 .
Can't find what you're looking for? Ask the community or share your knowledge.