Quantcast
Channel: ArchiCAD-Talk - Libraries / Library Parts / GDL
Viewing all 3838 articles
Browse latest View live

Wall below door - Section and 3D issue

$
0
0
Author:Richard Morrison
Posted: Tue Jan 03, 2017 7:51 pm (GMT+1)


This may be a little too easy, but is there any reason not to just set the threshold material to match the finish flooring?
_________________
Richard
--------------------------
Richard Morrison, Architect-Interior Designer
www.richardmorrison.com
AC20, Win10


!!PsynInfinityStairFree!!

$
0
0
Author:Hmooslechner
Posted: Wed Jan 04, 2017 11:00 am (GMT+1)


Similar to this - all Archicad Stairmaker-Stairs should behave! Thats a wonderful peice of GDL!

I just try to get into Archicad-Rhino-Grasshopper connection to get things like this to work. But i am just at the beginning..
_________________
AC5.5-AC18EduGer, Win8
http://hmooslechner.cwahi.net/

custom skylight

$
0
0
Author:laszlonagy
Posted: Wed Jan 04, 2017 3:29 pm (GMT+1)


If you open for editing any of the Skylight objects in the default ARCHICAD Library, you will see how they are scripted.
Unfortunately, if you are not familiar with GDL Scripting, it will be quite difficult for you to do it, and would take lots of time to explain how to it.
In that case your best bet would be to hire a GDL expert to script it for you.
_________________

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

Birds objects

$
0
0
Author:Michael Boreskie
Posted: Wed Jan 04, 2017 5:39 pm (GMT+1)


Does anyone know of a source for birds in flight?

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

Auto Rotating Trees & Shrubs

$
0
0
Author:vistasp
Posted: Wed Jan 04, 2017 5:45 pm (GMT+1)


vfrontiers wrote:


ALSO... I used to laugh at PINTREST but upon joining, I have found a TON of fresh CUTOUT TREES and SHRUBS to include in my library.


Wow! That's almost as useful as your code! Would never have thought to look there. A double thank you, Duane.

And thank you too, David, for that Material 0 trick! Smile
_________________
= v i s t a s p =
bT Square Peg

http://archicadstuff.blogspot.com
http://www.btsquarepeg.com

| 9-20 INT | Win10 x64 |
| i7 4770 | 16 GB | Quadro K620 |

Request asscoccel_properities

$
0
0
Author:ispyridis
Posted: Fri Jan 06, 2017 11:23 am (GMT+1)


I'm trying to refine the associated property object label I posted earlier in this thread. I'm trying to use the values retrieved as drop down lists to filter information. I use command : values "___dbsetname" _dbsetname
_dbsetname is an array that holds the names of the databases that provide info to the property object. Is this a problem of the request ASSOCEL_PROPERTIES? can the values retrieved in array be used for parameter values.

P.S. in the array there are common records is this a problem? should I make a new array that holds descrete values?


Thanks Ioannis
_________________
Archicad 12-20 win10 64 Intel 3.00 ghz 16gb

Reading Autotext

$
0
0
Author:derekjackson
Posted: Fri Jan 06, 2017 1:52 pm (GMT+1)


Hi,
I was wondering if it's still the case that GDL objects can't read Autotext values?

We're wanting to make a scale bar object that automatically displays the correct scale when placed on a sheet (based on the Autotext Drawing Scale value).

I read something here about outputting to an XML file but that seems a step too far. Can they not even be read in a text string in some form?

Thanks,

Derek
_________________
www.lsiarchitects.co.uk
www.djillustration.com

AC17 / 19

Windows 7 Intel Xeon 18Gb

Passing information between multiple versions of an object

$
0
0
Author:derekjackson
Posted: Fri Jan 06, 2017 4:41 pm (GMT+1)


Hi,
we've developed a 'car parking bay' object that allows us to place down a block of parking spaces in a style that we like, and caters for disabled / bike spaces too.

Each instance outputs the amount of spaces in that particular block, which is helpful for scheduling. However, that still leaves us to add up the totals of the various blocks to get the overall number of spaces.

We'd like for each instance of the object to additionally display the total number of parking spaces in the whole project, which would mean passing integers between the various objects (or else a master object collecting the various numbers and adding them together for the others to read).

Is this even possible with GDL? I've had a look at user-defined global variables, but that doesn't seem to help as the information only seems to travel from the master object to the child objects - not the other way around...

Does anyone know of any example code of how to achieve something like this?

Thanks!
_________________
www.lsiarchitects.co.uk
www.djillustration.com

AC17 / 19

Windows 7 Intel Xeon 18Gb


Reading Autotext

Reading Autotext

$
0
0
Author:derekjackson
Posted: Fri Jan 06, 2017 4:48 pm (GMT+1)


Thanks for the help.

That's halfway there, but we want to then analyse the content of the autotext output, so I guess it can't be done (yet)

Oh well - I'll just have to trust my colleagues to manually enter the scale on the scale bar object Smile
_________________
www.lsiarchitects.co.uk
www.djillustration.com

AC17 / 19

Windows 7 Intel Xeon 18Gb

Passing information between multiple versions of an object

$
0
0
Author:DGSketcher
Posted: Fri Jan 06, 2017 4:53 pm (GMT+1)


You can read object parameters into a schedule. Could your object be written to update Parameters so that a schedule would pick up & total the various types of spaces?

Lazy solution would be to give each parking block a start number and auto number each space. You can then just add a drawing note confirming the final number.
_________________
Apple iMac MacOS Sierra / AC20UKI (most recent build)

Reading Autotext

$
0
0
Author:DGSketcher
Posted: Fri Jan 06, 2017 5:01 pm (GMT+1)


Depending on how you use your object have you looked at referencing the GLOB_SCALE value and possibly ac_drawingScale? Although I haven't yet had reason to use the latter.
_________________
Apple iMac MacOS Sierra / AC20UKI (most recent build)

Passing information between multiple versions of an object

$
0
0
Author:derekjackson
Posted: Fri Jan 06, 2017 5:02 pm (GMT+1)


Thanks for the thoughts.

Each individual block is currently outputting its total to the schedule correctly, so potentially we could set up a schedule to total up the blocks.

However, we can't rely on people knowing how to do this, so we were hoping to be able to do that calculation within the object (or within another) before it goes to the schedule.

The lazy solution sounds great, but again, there's potential for human error...
_________________
www.lsiarchitects.co.uk
www.djillustration.com

AC17 / 19

Windows 7 Intel Xeon 18Gb

Passing information between multiple versions of an object

$
0
0
Author:alemanda
Posted: Fri Jan 06, 2017 5:20 pm (GMT+1)


You can write/read the total number in/from a text file.
_________________
AC13, AC15, AC16, AC18 64bit ITA, AC 19 latest hotfix
Win 7 Pro 64bit
Dual XEON Quad Core
8GB RAM
Nvidia Quadro 1700FX
www.almadw.it

Reading Autotext

$
0
0
Author:derekjackson
Posted: Fri Jan 06, 2017 5:51 pm (GMT+1)


GLOB_SCALE doesn't work - it just returns the 1:1 value of the layout.

I'm struggling to find a reference for how to call ac_drawingScale - I don't suppose you know of one? I suspect it's somewhere in the REQUEST syntax but not getting very far...
_________________
www.lsiarchitects.co.uk
www.djillustration.com

AC17 / 19

Windows 7 Intel Xeon 18Gb


Reading Autotext

$
0
0
Author:DGSketcher
Posted: Fri Jan 06, 2017 6:23 pm (GMT+1)


This might help...

http://gdl.graphisoft.com/tips-and-tricks/creating-custom-label-frame/

You could also interrogate a drawing view title to see how that is put together.

There is a scale bar object in the UK library but I couldn't get it to work logically. Could be worth checking the code to see if it offers any pointers.

Going back to basics I don't see how a scale bar in paper space could shown anything other than 1:1 units, this makes sense as it allows some less digitally savvy operators to print to the right size (recent issue for me). If you have a view at 1:50 and another detail at 1:20 how should the scale bar react?

For me the only logical solution for an adaptive scale bar is to place it in the view where it can adjust to the GLOB_SCALE variable.

One final observation while you are trying to resolve the scale bar you may find you drawings carry a big disclaimer "DO NOT SCALE"... Confused
_________________
Apple iMac MacOS Sierra / AC20UKI (most recent build)

Change Parameter by Property

$
0
0
Author:FatihEmre
Posted: Fri Jan 06, 2017 7:52 pm (GMT+1)


Hi guys

I have some questions for GDL.Its between Properties and Parameters.

I have a speacial gdl model.It's got too many variation in my scene and i did list them by schedule panel... Now i want extract this schedule for an excel file, i will change some properties and again import this file.
It will change my properties in schedule list.Everything okay for this step and now i want change my gdl parameters by this imported properties automatically.

My Question:
How can i change a parameter by use a property ?

Passing information between multiple versions of an object

$
0
0
Author:laszlonagy
Posted: Fri Jan 06, 2017 7:58 pm (GMT+1)


alemanda wrote:
You can write/read the total number in/from a text file.


I have done this many years ago where I had to sum up the areas of multiple Zones that belong to the same apartment. Zones belonging to the same apartment were given the same Element ID. Then each Zone would use the GDL Data Extension to write its area value into a file with the same name as their common Element ID (for example, "A-13", and A-13.txt). Then these Zones could also read back the sum of areas from the same file.
It was pretty complex but it worked fine.
I wonder if you could also use the GDL XML Extension to do the same.
_________________

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

Change Parameter by Property

$
0
0
Author:laszlonagy
Posted: Fri Jan 06, 2017 8:10 pm (GMT+1)


Maybe you should save the Excel file as TXT (or possibly XML), and then script the GDL Object to update parameters in its instances based on values read from the file.
However, this may or may not work because you may have to used the PARAMETERS command in the Parameter Script in GDL, and what I don't know whether you need to open each instance so its Parameter Script is rerun and thus reads the values from the file. In that case this can be cumbersome if there are many instances.

Another option may be to use Grasshopper-ARCHICAD Connection to set those values. That may also be possible. I have not tried it but based on the capabilities of the Connection Add-On and Grasshopper, it may be possible to do.
_________________

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

Change Parameter by Property

$
0
0
Author:FatihEmre
Posted: Fri Jan 06, 2017 9:11 pm (GMT+1)


i have one more question for this topic - how can i call entities of property manager within gdl?
Viewing all 3838 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>