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

Find + Select problem

fuzzytnth3
Booster
I have an object that has a number of desk types. For each desk type I have a Fragment with a drawing of the desk which has a parameters a=2.000, b=2.200 command in the Master Script to set A and B parameters to the correct size of desk rather than the default size of 1.0m x 1.0m

My problem is that when I try to find and select desks of a certain size by selecting a desk and picking up the attributes it lists the A and B parameters as 1.0m x 1.0m even although the object dialogue says they are 2.0m x 2.2m (see attached screenshot)

Any ideas how I can get this to work the way I expected?

TIA

findselect.jpg
AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
8 REPLIES 8
fuzzytnth3
Booster
I've just tried adding some HOTSPOT2 commands to the four external corners of the object and that has got the height to work but it hasn't worked for the width

I'll keep bashing away till I get the pesky thing to work!!
AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
Anonymous
Not applicable
fuzzytnth3 wrote:
I've just tried adding some HOTSPOT2 commands to the four external corners of the object and that has got the height to work but it hasn't worked for the width

I'll keep bashing away till I get the pesky thing to work!!
The key trick here is to use the +256 modifier to the base hotspot. This is the easy (only?) way to get both ends of the value to stretch.
fuzzytnth3
Booster
Maybe I haven't explained it very well but I'm not trying to make the object stretchy. I have a number of Desk types that have to be a specific size. I want to be able to search the drawing using the Find and Select pallette to then be able label them with the correct ID it would also be nice to get it to link to Properties in the Database but was also unable to do this if I couldn't get the Find and Select pallette to pick up the unique info.

I have now found to get the Find and Select pallette to work with the object correctly I had to quit and restart ArchiCAD. It didn't seem to be a problem with the object's script but more a problem with the Find and Select pallette. Now I have restarted it is working fine.

Thanks
AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics
Frank Beister
Moderator
Can you post your master script? I think, there is something wrong with your parameters-command.
The size in the preview window is the real size of the object, if it differs from the nominal axb-size. Seems your parameters-comand does not work.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
F. wrote:
Can you post your master script? I think, there is something wrong with your parameters-command.
The size in the preview window is the real size of the object, if it differs from the nominal axb-size. Seems your parameters-comand does not work.
No it is not necessary to use the A,B parameter to control the size of your object.You can make your own parameter and leave A,B unused
In that case, the values of A,B it can be anything
Frank Beister
Moderator
No it is not necessary to use the A,B parameter to control the size of your object.You can make your own parameter and leave A,B unused
That's right, but he wants to select the object by a certain size. For this he wants to set the size depending of the selected table. I suggested, that the used PARAMETERS-command does not work proper.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
probably the object ,use the value of the parameter but no return to the user.
Anyway it's easy to fix it
fuzzytnth3
Booster
Since it was asked here is the Master Script


IF typdesk = 1 THEN parameters a=1.800, b=2.200
IF typdesk = 2 THEN parameters a=1.800, b=2.000
IF typdesk = 3 THEN parameters a=2.000, b=2.000
IF typdesk = 4 THEN parameters a=1.800, b=1.800
IF typdesk = 5 THEN parameters a=1.800, b=1.850
IF typdesk = 6 THEN parameters a=2.000, b=2.200


All seems to be working ok now but while creating and checking the Object the Find + Select Pallette was somehow picking up the original default size of 1.0 x 1.0m or it would pick up the A or B parameter correctly but not both at the same time
AC versions 3.41 to 25 (UKI Full 5005).
Using AC25 5005 UKI FULL
Mac OSX 10.15.7 (19G2021) Mac Pro-2013 32gbRam AMD FirePro D500 3072 MB graphics