robinsjg
01-18-2011, 01:27 PM
I am attempting to create a custom To/From Arrow for a client and I have run in to a number of issues.
One problem I am having is creating the attribute text blocks. I created my own that incorporates a number of other fields from the database. However, as soon as I place the arrow and select a direction, I get the following error:
ERROR bad argument type: 2D/3D point: (nil 2.8125)
The number at the end, 2.8125 in this case, is always simply the Y value of the location where I attempted to place the arrow.
Does anyone know what this means? As soon as I switch the attribute text block back to the default one, it works fine.
And can anyone explain exactly how the blue insertion points work? I don't see any rhyme or reason to how AutoPlant is placing the text. I am trying to get it to all line up neatly within the arrow symbol, but I can't figure out what exactly it's doing.
And lastly, I noticed that when I use the default attribute text block, which just has MDOC_NAME, the database does not actually populate that field with the correct drawing number. The drawing number shows up in the arrow, but in the database, the MDOC_NAME field (in the PID_TOFR table) is empty. This doesn't make any sense to me. Where is it getting that value? I need to do embedded value LISP functions on the drawing number to split it up and display it on two separate lines, but I can't split it up if there is no drawing number to operate on!
One problem I am having is creating the attribute text blocks. I created my own that incorporates a number of other fields from the database. However, as soon as I place the arrow and select a direction, I get the following error:
ERROR bad argument type: 2D/3D point: (nil 2.8125)
The number at the end, 2.8125 in this case, is always simply the Y value of the location where I attempted to place the arrow.
Does anyone know what this means? As soon as I switch the attribute text block back to the default one, it works fine.
And can anyone explain exactly how the blue insertion points work? I don't see any rhyme or reason to how AutoPlant is placing the text. I am trying to get it to all line up neatly within the arrow symbol, but I can't figure out what exactly it's doing.
And lastly, I noticed that when I use the default attribute text block, which just has MDOC_NAME, the database does not actually populate that field with the correct drawing number. The drawing number shows up in the arrow, but in the database, the MDOC_NAME field (in the PID_TOFR table) is empty. This doesn't make any sense to me. Where is it getting that value? I need to do embedded value LISP functions on the drawing number to split it up and display it on two separate lines, but I can't split it up if there is no drawing number to operate on!