We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

How do you control the MUL command?

Anonymous
Not applicable
I created a 3d light switch. It's a static object and doesn't need any user input. When I used the FPRISM and PRISM commands I put the x, y variables in at the actual size they are in feet-inch measurements. I have a light switch cover that is 2.5" x 4.5". When I placed the object it was 7' by 12.6' . I tried using the MUL command and set it to 1/8 multiplcation (MUL 0.125, 0.125, 0.125). Still way too big. I tried again at 1/16 multiplication (MUL 0.0625, 0.0625, 0.0625). My width is still too big but at least it's less than 1 foot.

Besides just throwing in random numbers till I get something close is there a way to make my object show up at the correct scale? The rest of my project is at 1/8th scale.
4 REPLIES 4
Anonymous
Not applicable
Hi Seraphim,

Just curious, what do you mean 'The rest of my project is at 1/8th scale.'? The displayed scale shouldn't have any effect on a library part unless you have coded in some sort of scale sensitivity.

You haven't actually modelled the building at a scale have you?

Try posting up some of the code, and someone may be able to spot what the problem is if you're still having problems.
Anonymous
Not applicable
Here is my current 3D Script:


MUL 0.025, 0.025, 0.025

FPRISM_ plastic_material, plastic_material, plastic_material, plastic_material,
5, 0.125, 45, 0.125,
0, 0, 15,
2.5, 0, 15,
2.5, 4.5, 15,
0, 4.5, 15,
0, 0, -1

DEL 1

I think the question I'm really trying to ask is what are the values used in the MUL command measured in?

As far as "the rest of my project is at 1/8th scale", I agree that was poorly phrased. I mean all of my output is to 1/8th scale. I recently switched from 1/4 scale and I've had to convert a lot of text.
Looking at your script, it looks like you can just eliminate the MUL transformation and add inch marks (") after your values to clarify your unit of measure.
MacBook Pro Apple M2 Max, 96 GB of RAM
AC27 US (5003) on Mac OS Ventura 13.6.2
Started on AC4.0 in 91/92/93; full-time user since AC8.1 in 2004
Anonymous
Not applicable
Following on from Laura, I believe from my limited GDL knowledge, GDL works in metric unless you tell it otherwise.

Your Prism was actually 2.5 metres by 4.5 metres (approx 8ft by 14ft)

The MUL command literally multiplies (scales) by the number i.e. MULx 2 multiplies everything by 2 or twice the size, MULx 0.5 halves the size. MULx 1.0 should do nothing!

Hope that's helpful!