January 19, 2017, 4:23 pm
Author:
Michael Boreskie
Posted: Fri Jan 20, 2017 1:23 am (GMT+1)
Thanks!
_________________
Michael Boreskie / Architect
www.visioninform.ca
ArchiCad 20
Mac Pro (Mid 2010), 2 x 2.66 GHz 6-Core Intel Xeon, 12 GB 1066 MHz DDR3 ECC, ATI Radeon HD 5770 1024 MB
10.10.5
↧
January 19, 2017, 4:56 pm
Author:
rob2218
Posted: Fri Jan 20, 2017 1:56 am (GMT+1)
So.....here's a GS link that a fellow Archicad-guru pointed me to.
it's got the option for the user to be able to download below AC10 libraries.
I suggest to all that you do this.
Seems the Libraries in prior version to below 10 have been made into PLA files of which you can actually load a PLA file into your project if you were getting the "dots of death" when trying to open an earlier version AC.
http://www.graphisoft.com/downloads/library/usa.html
_________________
...Bobby Hollywood live from...
i>u
Los Angeles, CALIFORNIA!
SOFTWARE VERSION:
Archicad17, Archicad 18
Windows7 -OS, MAC Maverick OS
↧
↧
January 19, 2017, 11:56 pm
Author:
Dukatas
Posted: Fri Jan 20, 2017 8:56 am (GMT+1)
I'm trying to find or script a label that can output the Building Material Description of a material fill and to concatenate an abbreviated version of the renovation status (i.e. (E), (N), (DEMO)). I've figured out the renovation tag portion, now I'm struggling with the how to extract the building material description with REQUEST{2} ("Building_Material_info", name, "gs_bmat_description", value_or_values). Any suggestions how to feed "name" of the label with the info from the labeled fill?
Thanks!
↧
January 21, 2017, 9:29 pm
Author:
mi_jan
Posted: Sun Jan 22, 2017 6:29 am (GMT+1)
I need to change the door and window marker's, there is an option under settings that says load other door marker, what format should it be for it to work? I need ovals for doors and hexagons for windows.
_________________
MBP (late 2016) 2.9ghz q-core i7, 16GB Ram, 512gb SSD, Radeon Pro 460 4GB
AC20 student 4020 build / MacOs Sierra 10.12.1
↧
January 22, 2017, 5:15 am
Author:
David Maudlin
Posted: Sun Jan 22, 2017 2:15 pm (GMT+1)
mi_jan:
They are library parts of the Window-Door-Skylight Marker Subtype, so if they are in the loaded libraries would show up as options in the pop-up list. You could also Label the Doors and Windows instead using a Dimension Marker.
David
_________________
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC20 USA+MEP •
iMac 27" 4.0GHz Quad-core i7 | 24 gb ram •
MacBook Pro 2.5GHz | 16 gb ram •
OSX10.10.5
↧
↧
January 22, 2017, 3:55 pm
Author:
allanp
Posted: Mon Jan 23, 2017 12:55 am (GMT+1)
Hi,
remove
mul2 A/2.150000, B/2.150000
this scales the object when you change the width and height
The putvolume parameter needs to be a number greater than 1, as arrays start at 1 in GDL, a values list in parameter script or master script can solve this...
VALUES "parameter_name" [,]value_definition1 [, value_definition2, ...]
i.e. values "putVolume" 1500,2000,3000,5000,7000,10000,15000,20000
straal needs to be a number, not text (as you can't use text for the poly2_b{5} command)
define the numbers without Quotes
i.e.
typePut[2000][1] = 2000 !inhoud
typePut[2000][2] = -0.75 !straal
(no gaps in the numbers or it will error, 20 000 does not work)
STR (numeric_expression, length, fractions)
this will convert numbers to text for use in the paragraph (length is actually minimum length of text)
i.e. Volume = str(typePut[putVolume][1] ,1,0)
or if you want to keep your system formatting
STR (format_string, numeric_expression)
i.e.Volume = str("%#.0",typePut[putVolume][1])
get rid of the exponent numbers and change them to 0...to have the center of the circle an atoms width off center annoys me...
poly2_b{5} 9, 3, 1, 3, putSolid, putEmpty,
0, 0, 1, 0, 0, 1, 0,
straal, 0, 33,
0, 0, 900,
0, -90, 4033,
0, 0, 900,
0, -90, 4033,
0, 0, 900,
0, -90, 4033,
0, 0, 900,
0, -90, 4033
if you still have errors...then try
when you make the parameters in the parameters list
putfill needs to be a Fill type
putSolid needs to be a Pen Type
putEmpty needs to be a Pen Type
putVolume needs to be a Real number or Interger type, as the actual number for length is based on meters and the displayed number may be mm or another unit. this would mean you have a much larger number i.e.1500000 for the smallest tank.
or just asign intergers
for putSolid 1 to 255
for putSolid pen -1 to 255
for putfill 65(background or empty fill) or 64(solid or foreground fill)
i hope this helps
in parameter script
values "putVolume" 1500,2000,3000,5000,7000,10000,15000,20000
in 2d script
DIM typePut[][]
typePut[1500][1] = 1500 !inhoud
typePut[1500][2] = -0.75 !straal
typePut[2000][1] = 2000 !inhoud
typePut[2000][2] = -0.75 !straal
typePut[3000][1] = 3000 !inhoud
typePut[3000][2] = -0.875 !straal
typePut[5000][1] = 5000 !inhoud
typePut[5000][2] = -1.075 !straal
typePut[7000][1] = 7000 !inhoud
typePut[7000][2] = -1.225 !straal
typePut[10000][1] = 10000 !inhoud
typePut[10000][2] = -1.500 !straal
typePut[15000][1] = 15000 !inhoud
typePut[15000][2] = -1.500 !straal
typePut[20000][1] = 20000 !inhoud
typePut[20000][2] = -1.725 !straal
DEFINE STYLE "tekstVetMiddel""Arial Narrow Bold", 2.5,1,0
DEFINE STYLE "tekstKlein""Arial Narrow", 1.5,1,0
Volume = str("%#.0",typePut[putVolume][1])
PARAGRAPH "putTekstPara" 2,
0,
0,
0,
1.15,
0
PEN 2
STYLE "tekstVetMiddel"
"Regenwaterput ("+ Volume +" liter)\n"
STYLE "tekstKlein"
"volgens verordening hemelwater"
ENDPARAGRAPH
TEXTBLOCK "putTekst" 0,
5, !anchor
0, !angle
1, !width_factor
1, !charspace_factor
1, !fixed_height 1=mm, 0=m
"putTekstPara"
RICHTEXT2 0,0, "putTekst"
!!!!!!!!!!!!!!!!!!!!!!!Needs to be a number
straal = typePut[putVolume][2]
fill putFill
poly2_b{5} 9, 3, 1, 3, putSolid, putEmpty,
0, 0, 1, 0, 0, 1, 0,
straal, 0, 33,
0, 0, 900,
0, -90, 4033,
0, 0, 900,
0, -90, 4033,
0, 0, 900,
0, -90, 4033,
0, 0, 900,
0, -90, 4033
↧
January 22, 2017, 9:04 pm
Author:
laszlonagy
Posted: Mon Jan 23, 2017 6:04 am (GMT+1)
jacobidiego wrote: |
Weird of GDL to have called "Macro" to an "Object" or "Class"
Code: |
macroToilet = "WC 20"
CALL macroToilet PARAMETERS ! use parameter default values
|
Code: | CALL "leg" 2, , 5 !!!!! A = 2, B = 0, C = 5 |
|
This is for historic (legacy) reason.
A long time ago GDL macros were not GDL Objects. They were simply 2D, 3D, etc. GDL scripts and a GDL macro file had the *.GDL extension.
Then a new capability came in GDL, which was that you could now call another GDL Object (*.GSM extension) as a macro. If you called it from the Master Script, the Master Script of the macro was called; if you called it from the 3D Script, the 3D Script of the macro was called, and so on.
But the GDL syntax remained, only its capabilities were extended.
So that is why this seems a bit strange now.
_________________
Laszlo Nagy, Moderator, Site Admin
https://twitter.com/laszlonagy
i7-2630QM 16 GB RAM
17.3" (1920x1080), NVidia GTX 460M
SSD+HDD, Win7-64 ENG
AC13-AC20 (64-bit, latest build)
Loving ARCHICAD since 1995
↧
January 22, 2017, 9:22 pm
Author:
laszlonagy
Posted: Mon Jan 23, 2017 6:22 am (GMT+1)
I have not tried this an I might be wrong but here is what I think:
When you place an instance of a GDL Object, it will have an A and B size, length and width, respectively. If you now change the definition of the GDL Object and modify the A and B sizes in the definition, that will not change the A and B size of the place instances and this is what causes the distortion.
You can try opening the GDL Object for editing, and on the Details page click the Compatibility Options button. There the first pair of radio buttons control this behaviour. You can try switching to the legacy method and see if that helps.
If that doesn't solve it, maybe you can try creating the geometry of the object in such a way that its dimensions are independent of the A and B values. I would try to do this by scripting the geometry (not using the 2D Symbol of the object). and adding you own 2D hotspots to the object.
I hope this explanation makes some sense.
![Wink]()
_________________
Laszlo Nagy, Moderator, Site Admin
https://twitter.com/laszlonagy
i7-2630QM 16 GB RAM
17.3" (1920x1080), NVidia GTX 460M
SSD+HDD, Win7-64 ENG
AC13-AC20 (64-bit, latest build)
Loving ARCHICAD since 1995
↧
January 22, 2017, 10:04 pm
Author:
Dukatas
Posted: Mon Jan 23, 2017 7:04 am (GMT+1)
Try using:
string=code + "" + mat
or
string = mat + "" + code
_________________
Ben Hruska
ArchiCAD 3.1 - 20
iMac
↧
↧
January 22, 2017, 11:52 pm
Author:
Barry Kelly
Posted: Mon Jan 23, 2017 8:52 am (GMT+1)
What Laszlo has suggested may work but it sounds to me that you really want to place a Hotlinked Module rather than trying to adjust the GDL scripts.
When ever you update the original source module all the Hotlinked instances will update as well.
Your elements can be 'saved as' MOD (module) files and these can be opened and edited in a separate Archicad if need be.
You can then hotlink them into any other file.
Modules can be 2D and/or 3D elements.
Barry.
_________________
Versions 6.5 to 20
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit
↧
January 23, 2017, 4:22 am
Author:
Laurits Frydenebrg
Posted: Mon Jan 23, 2017 1:22 pm (GMT+1)
I have some element and on these I will use macro.
When I use the macro I get problem with hotspot2 now I call them.
I can not stretch them now I'm changing dimensions; with (call macro_navn parameter B = 0.900, etc, etc, ..)
See picture in which I explain it a little more.
Someone I an idea of how I solve this
Thank you in advance
Laurits
_________________
Technical drawing
Have a trial of ArchiCad 20
On an ok Desktop with Windows 10
↧
January 23, 2017, 11:01 am
Author:
Piotr Dobrowolski
Posted: Mon Jan 23, 2017 8:01 pm (GMT+1)
If You wish the hotspots in the macro to work You need to have exactly the same parameters names that utilize the hotspots in caller object and the called macro.
Another thing is the hotspot id which have to increase with every hotspot.
Best Regards,
Piotr
↧
January 23, 2017, 2:27 pm
Author:
allanp
Posted: Mon Jan 23, 2017 11:27 pm (GMT+1)
Hi,
If you are drawing the content in the 2D symbol and there is nothing in the 2D script then:
it will scale to the A and B values.(Width and Length, Dimension 1 and Dimension 2 Values)
If you add FRAGMENT2 ALL,0 to the empty 2d script, then it will be just the size of your original drawing (it will ignore the bounding box and place your object at its original size.
if you only want specific layers shown(out of the 16 layers available in the 2D symbol) have a FRAGMENT2 command for each layer rather than all,
i.e.
FRAGMENT2 1,0 to show layer 1
FRAGMENT2 4,0 to show layer 4
FRAGMENT2 5,0 to show layer 5
the internal layers of the 2D symbol is just a way to store 16 different drawings in the same object, Archicad does not use them in the project.
if you want something scale sensitive then...
different drawing shown for different scales:
if GLOB_SCALE >= 100 then FRAGMENT2 1,0
if GLOB_SCALE >= 50 and GLOB_SCALE < 100 then FRAGMENT2 2,0
if GLOB_SCALE < 50 then FRAGMENT2 3,0
or more information shown when the scale increases
FRAGMENT2 1,0
if GLOB_SCALE < 100 then FRAGMENT2 2,0
if GLOB_SCALE < 50 then FRAGMENT2 3,0
you can move the 2d elements in the 2d symbol to the different layers the same way you normally do in archicad, using the the layer drop down in the info box.(the default layer you draw on is layer 1) the above example uses layer 1 for drawings 1:100 or higher, layer 2 for 1:50 and layer 3 for 1:20 scale drawings. GLOB_SCALE is the built in variable that tells GDL the scale of the current view, as an integer i.e. at 1:100 GLOB_SCALE is 100.
If there is script in the 2D Script area then:
if there is a Mul2 A/1.50000, B/2.500000 in the 2D script, then this will also re-scale your object to the bounding box.(the numbers dividing the A and B will be the original size of the object) delete the Mul2 line from the code to fix this.
There are many other things that might affect the scaling of the library part as listed by Lasz and Barry.
_________________
____________
Allan P. BArch
Archicad 4.55 to ...20
GDL from Blocks to Nurbs
Apple from Mac Classic to iMac
Windows from 3.11 to Server 2012
Architect? no time while I'm coding Kitchens to Comply with NCC and ResCode, lol.
↧
↧
January 23, 2017, 9:56 pm
↧
January 23, 2017, 1:33 pm
Author:
Mats_Knutsson
Posted: Mon Jan 23, 2017 10:33 pm (GMT+1)
Hi,
I wanted to recreate a popular handle for use on kitchen shelves etc. It's working fine as a door handle but shrimps and distorts when used as a cabinet door handle. Weird or not?
/Mats
_________________
AC 19 SWE Full.
HPZbook 15 G2. i7-4710MQ. 16 GB RAM.
Nvidia Quadro K1100M
↧
January 23, 2017, 2:14 pm
Author:
Steve Jepson
Posted: Mon Jan 23, 2017 11:14 pm (GMT+1)
cabinet door or cabinet drawer? Does that make any difference?
_________________
ArchiCAD 20 USA 4020 - Windows 10 Pro 64x- Maxwell Render 3.2.1.4 - Dell M6600 - 2.8GHz CORE i7 vPro - 2GB nVIDIA 4000M
↧
January 23, 2017, 2:20 pm
Author:
Mats_Knutsson
Posted: Mon Jan 23, 2017 11:20 pm (GMT+1)
Steve Jepson wrote: |
cabinet door or cabinet drawer? Does that make any difference? |
nope
_________________
AC 19 SWE Full.
HPZbook 15 G2. i7-4710MQ. 16 GB RAM.
Nvidia Quadro K1100M
↧
↧
January 23, 2017, 3:20 pm
Author:
Steve Jepson
Posted: Tue Jan 24, 2017 12:20 am (GMT+1)
It is not just you. It does not work right. However, one of the ways you can compensate is with the Settings using negative or positive dimensions
![]()
another way is how save it that is too complicated to explain, but I had better luck saving it as an object ( was a morph), then as a nob.
The issue is kind of related to morphs not knowing which side is up and also a perfectly vertical rotation. If the the morph has a vertical rotation of .01 off of plumb it will give a very different result than at perfectly plumb. That sort of thing. I typically use nobs and handles that are independent objects.
But you can get what you need using a custom nob.
![]()
.
_________________
ArchiCAD 20 USA 4020 - Windows 10 Pro 64x- Maxwell Render 3.2.1.4 - Dell M6600 - 2.8GHz CORE i7 vPro - 2GB nVIDIA 4000M
↧
January 24, 2017, 7:00 am
↧
January 24, 2017, 1:44 pm
Author:
Laurits Frydenebrg
Posted: Tue Jan 24, 2017 10:44 pm (GMT+1)
Hi
Is there anyone who can explain it to use unique ID on hotspot2 when using them in a Macro.
As a novice realize that I'm completely blank on this with ID. I Google it many times but find no good answer for it.
Please help me
_________________
Technical drawing
Have a trial of ArchiCad 20
On an ok Desktop with Windows 10
↧