2003-12-29 07:43 PM
2003-12-30 05:12 PM
2003-12-30 05:37 PM
!------> Master Script <-----!And if I do not use the Master Script?
lenSTR = STR("%.16ffi", A)
!------> 2D Script <-----!
PRINT lenSTR
2003-12-31 01:39 PM
PWD wrote:You dont need to use the print command for a finished object, and as Sean said, its still incredibly useful for validating things. but you need to use it in the 2D or 3D scripts for you to see the result, thats true. if you calculate the number of screws you need (and heaven knows, we could all do with more than we get!) then do the calculation in the master script, but place the print command in either 2d or 3D.
And if I do not use the Master Script?Does it works for you? Not for me.
Thanks
2003-12-31 03:38 PM
2003-12-31 06:13 PM
2003-12-31 08:53 PM
Sean wrote:You should try David's advice and limit the upper value of the parameter. Such as:
If you stretch an object beyond a max length, the pen changes to 10 and an error message is printed in plan view.
2003-12-31 09:04 PM
2004-01-02 06:38 PM
Sean wrote:The stretchiness is easily retained. I am not sure what you are doing to defeat it. You might like to try one of the following:
I dont do it that way because forcing a value via the PARAMETERS command removes the stretchy properties. The user has to manually change the value to something less than the max to get the stretchy feature back.
It's an inconvenience either way.
2004-01-02 10:12 PM
Matthew wrote:I agree with you completely, matthew, and am not sure why Seans objects dont stretch, all my objects stretch, but I use the methods on Mathews later message to limit them, eg RANGE in the VALUES list.
You should try David's advice and limit the upper value of the parameter. Such as:
IF length_n > 10 THEN
length_n = 10
PARAMETERS length_ n = length_n
ENDIF
This will prevent the symbol from exceeding the maximum length and reset the value displayed in the dialog.
2004-01-02 11:35 PM
david wrote:David,
On thing that is a must though, if Matthew will allow me to correct him in public is that the "greater than or equals" is more reliable, otherwise for some reason, some things might stick at one length and not stretch..