Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

IF WIDO_ORIG_DIST<>0 THEN

I am having the precision problems thing in an old window with
IF WIDO_ORIG_DIST<>0 THEN.

Am I right in thinking that
IF WIDO_ORIG_DIST THEN
would do it for any positive and negative value?

I am trying to figure out why somebody scripted <>0 in the first place.
3 REPLIES 3
Anonymous
Not applicable
Ignacio,
I just looked up the definition of "WIDO_ORIG_DIST"
and it says, "distance of the local origin from the centerpoint
of the curved wall, 0 for straight walls"
It would seem that "IF WIDO_ORIG_DIST<>0 THEN"
is meant to apply to windows in a curved walls exclusively.
Peter Devlin
Agh I may have mixed it up so badly that the question itself was unintelligible. I was hoping that
IF WIDO_ORIG_DIST THEN
would give FALSE for 0 and TRUE for any other value.
Anonymous
Not applicable
I was hoping ....
In AC 9 :
EPS = .0001
IF ABS (WIDO_ORIG_DIST) > EPS THEN


In AC 8.1 and previous version:

IF WIDO_ORIG_DIST <> 0 THEN

OR AC9 code


CU mirco
www.3dsmile.it

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!