BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Help

Red
Advocate
More than likely I say this is an easy fix.

Ex #1----LogsHigh = int((HLH_RoHt + 0'-3")/HLH_log_sh)

Ex #2----parameters HLH_Lo2 = str("%", LogsHigh+1)

What I'm doing is taking an int from Ex #1 and converting it to a string and the value I'm receiving is 9.000. I would like for it to only be 9 w/o the decimals places.

Here are some ways I tried it

1. parameters HLH_Lo2 = str(" ", LogsHigh+1)

2. parameters HLH_Lo2 = str(LogsHigh+1)

3. parameters HLH_Lo2 = int(str("%", LogsHigh+1))
Didn't figure that would work, but I gave it a try anyway.

What simple little thing am I missing.
Thanks,
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
2 REPLIES 2
David Larrew
Booster
Try:

HLH_Lo2 = str("%.0", LogsHigh+1)

I haven't checked to see if it works, but it should give you a resulting value of "9".
David Larrew, AIA, GDLA, GSRC

Architectural Technology Specialist

a r c h i S O L U T I O N S



WIN7-10/ OSX 10.15.7

AC 5.1-25 USA
Red
Advocate
Thank ya Thank ya Thank ya

Works perfect.
Thanks,
Red
i7 8700k
ROG Strix Z390-E MoBo
64gb RAM
EVGA GeForce GTX 2080
_______________________
http://www.facebook.com/flatcreekdesignstn
http://www.sraarchitects.biz
Learn and get certified!