Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Param-O display is not acting consistent.

4hotshoes
Advisor

It may be my programing, so I am posting screen shots. I am creating parallel bars that maintain a chosen width and spacing that allow the group of bars to stretch and change in number as needed. The Param-O 3D display shows the bars with proper size and spacing. However, the same parameters are use when placed as an object. But the bars are wide with no spaces between. Also the object dimensions are longer in the Y-axis, which should not be. It behaves properly in Param-O, but not as an object. Why?

Screen Shot 2021-10-24 at 8.45.14 PM.png

Screen Shot 2021-10-24 at 8.43.16 PM.png

Todd Oeftger
AC27 Mac MacBook Pro 15", 2019, 2.3 GHz i9, 32GB, Radeon Pro 560X 4GB, 500GB SSD, 32" Samsung Display (2560x1440)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution
Marc H
Advisor

I hope I have the correct understanding of your terms. I believe you want your bar length (e.g., 8’ long members) connected to your Block Size Y and your bar span (e.g. 20’ run of bars) feeding your Transformation logic sequence. Your bar width (e.g., 1.5”) would connect to your Block Size X. 

This should provide equal spaces between the members based on your bar count within the span/run. You might also consider use of the Line Points node in lieu of the ND node; not sure if there is an advantage, but I’ve had success with Line Points.

“The best thing about the future is that it comes one day at a time.” - Abraham Lincoln

AC27 USA on 16” 2019 MBP (2.4GHz i9 8-Core, 32GB DDR4, AMD Radeon Pro 5500M 8G GDDR5, 500GB SSD, T3s, Trackpad use) running Sonoma OS + extended w/ (2) 32" ASUS ProArt PAU32C (4K) Monitors

View solution in original post

Solution

I experimented with replacing a Number Distribution with a Number Series and get the same results.

(After some sleep) I just discovered what the problem is. For the Bar Width, it was reading a Metric value, because its input value was a "Number" rather than "Length" After making the change, it works fine.

Todd Oeftger
AC27 Mac MacBook Pro 15", 2019, 2.3 GHz i9, 32GB, Radeon Pro 560X 4GB, 500GB SSD, 32" Samsung Display (2560x1440)

View solution in original post

6 REPLIES 6
vistasp
Advisor

It should work. I've made similar objects without facing such an issue.

 

Have you tried fiddling with the parameters after placing the object?

= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-27 INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
Solution
Marc H
Advisor

I hope I have the correct understanding of your terms. I believe you want your bar length (e.g., 8’ long members) connected to your Block Size Y and your bar span (e.g. 20’ run of bars) feeding your Transformation logic sequence. Your bar width (e.g., 1.5”) would connect to your Block Size X. 

This should provide equal spaces between the members based on your bar count within the span/run. You might also consider use of the Line Points node in lieu of the ND node; not sure if there is an advantage, but I’ve had success with Line Points.

“The best thing about the future is that it comes one day at a time.” - Abraham Lincoln

AC27 USA on 16” 2019 MBP (2.4GHz i9 8-Core, 32GB DDR4, AMD Radeon Pro 5500M 8G GDDR5, 500GB SSD, T3s, Trackpad use) running Sonoma OS + extended w/ (2) 32" ASUS ProArt PAU32C (4K) Monitors

I have tried multiple parameter changes

Todd Oeftger
AC27 Mac MacBook Pro 15", 2019, 2.3 GHz i9, 32GB, Radeon Pro 560X 4GB, 500GB SSD, 32" Samsung Display (2560x1440)
4hotshoes
Advisor

Here is the Param-O object.

Todd Oeftger
AC27 Mac MacBook Pro 15", 2019, 2.3 GHz i9, 32GB, Radeon Pro 560X 4GB, 500GB SSD, 32" Samsung Display (2560x1440)
Solution

I experimented with replacing a Number Distribution with a Number Series and get the same results.

(After some sleep) I just discovered what the problem is. For the Bar Width, it was reading a Metric value, because its input value was a "Number" rather than "Length" After making the change, it works fine.

Todd Oeftger
AC27 Mac MacBook Pro 15", 2019, 2.3 GHz i9, 32GB, Radeon Pro 560X 4GB, 500GB SSD, 32" Samsung Display (2560x1440)

I tried to reproduce the PARAM-O object and it failed me when I connected here  

SteveJepson_1-1635203813471.png

 

I also observed several times where the 3d views and 2d views did not match up as expected.   

 

 

 

ArchiCAD 25 7000 USA - Windows 10 Pro 64x - Dell 7720 64 GB 2400MHz ECC - Xeon E3 1535M v6 4.20GHz - (2) 1TB M.2 PCIe Class 50 SSD's - 17.3" UHD IPS (3840x2160) - Nvidia Quadro P5000 16GB GDDR5 - Maxwell Studio/Render 5.2.1.49- Multilight 2 - Adobe Acrobat Pro - ArchiCAD 6 -25

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!