Jump to content

Data Tag Field Syntax - Order of Operations

Recommended Posts

I am trying to build a data tag that completes a two step equation in the order i want.


The math i would like to have is:

(Door.width-Door.leafThickness) / 0.2

(A-B) / C


Here is the field definition that i currently have:

(#Door#.#Width##in_0_0#-#Door#.#DoorThickness##in_0_0#) / 0.2


The issue is that I cannot seem to use parenthesis in order to specify to complete the subtraction prior to the division.


This seems basic so hopefully i am just missing something and this will be a quick solution. 


Thank you!


Link to comment

Okay, still knocking my head against the desk on this one.. for some reason now this operation isn't working.. 




The definition works up until the '/24' but will not add the 0.49 or anything for that matter. I recall in another thread seeing an issue when the perimeter is read as a number rather than a distance, but i need to keep it in inches and if i use 'doc_dist' it displays the perimeter in Ft'-in" format and i cannot seem to then convert it back into just a number. 



Link to comment

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.

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