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

Custom Door Handle experience

$
0
0
Author:Erwin Edel
Posted: Wed Sep 20, 2017 1:02 pm (GMT+1)


Correct, I thought the problem was getting the handle to follow the pre-defined location from the door leaf.

If you want a door with recessed handle, you need to make a custom leaf.
_________________
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-20 NED FULL
BIMx
Windows 10 Pro 1607 / OS X Sierra
Adobe Design Premium CS4


Custom Door Handle experience

Project dependent global ERROR

$
0
0
Author:JGoode
Posted: Wed Sep 20, 2017 1:21 pm (GMT+1)


I understand why I'm getting the error. The problem is that I don't know of another way to define what I want to define without using them in the Master script. The object works exactly how I want it to work but the errors are not ideal. Any suggestions would be appreciated.

Code:
posx_m = symb_pos_x + glob_world_origo_offset_x
posy_m = symb_pos_y + glob_world_origo_offset_y
posx_mm = symb_pos_x + glob_world_origo_offset_x
posy_mm = symb_pos_y + glob_world_origo_offset_y

_________________
ArchiCAD 17, 19 and 21
Windows 8

Project dependent global ERROR

Project dependent global ERROR

$
0
0
Author:JGoode
Posted: Wed Sep 20, 2017 4:30 pm (GMT+1)


Piotr Dobrowolski wrote:
Parameters script?

Piotr
Same error occurs as you're not supposed to use project dependent parameters in the Master or Parameters script. Can't see why as all it does is enable the object to receive the information from the project.
_________________
ArchiCAD 17, 19 and 21
Windows 8

Project dependent global ERROR

$
0
0
Author:Piotr Dobrowolski
Posted: Wed Sep 20, 2017 6:53 pm (GMT+1)


Read the GDL manual - there is section that some of the globals are nor allowed in master/parameters scripts.
They will work in 2d/3d script.

Best Regards,
Piotr

Parameter "height" in the plan

$
0
0
Author:mest79
Posted: Thu Sep 21, 2017 12:48 am (GMT+1)


Thanks!!!
_________________
Architect
AC20 (3012) - iMac 3,5 GHz i7, GeForce GTX 780M 4G, OS X 10.9.5

GDL - Parameter names not matching custom settings listing.

$
0
0
Author:Lingwisyer
Posted: Thu Sep 21, 2017 5:27 am (GMT+1)


Hi all,

How do you change the name of parameters listed under an objects custom settings? Within the GDL string, I set the name to "Frame Material" yet it lists it under the objects custom settings as the default "Surface 1".



Regards,

Ling
_________________
AC18-21 AUS
Win7


GDL - Parameter names not matching custom settings listing.

$
0
0
Author:Barry Kelly
Posted: Thu Sep 21, 2017 6:28 am (GMT+1)


I think you are showing two totally different objects in your image.
The parameter list has a 'Title' parameter called "Materials".
However in you custom settings there is no such title.
So I think you may be trying to edit the wrong object.

Barry.
_________________
Versions 6.5 to 21
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 7 64bit

Project dependent global ERROR

$
0
0
Author:JGoode
Posted: Thu Sep 21, 2017 9:58 am (GMT+1)


Piotr Dobrowolski wrote:
Read the GDL manual - there is section that some of the globals are nor allowed in master/parameters scripts.
They will work in 2d/3d script.

Best Regards,
Piotr
The issue is that the variables won't be defined if used in the 2D/3D script. It completely works in the Master script, I was just wondering if there was a way to get around the error that it get. Apparently not.
_________________
ArchiCAD 17, 19 and 21
Windows 8

GDL - Parameter names not matching custom settings listing.

$
0
0
Author:Lingwisyer
Posted: Thu Sep 21, 2017 10:05 am (GMT+1)


Found the issue. There were two "Material" categories within the parameters... Same string, different name...
_________________
AC18-21 AUS
Win7

Project dependent global ERROR

Forward Migration Help Needed!

$
0
0
Author:JGoode
Posted: Thu Sep 21, 2017 4:39 pm (GMT+1)


Hello,

I have an issue whilst forward migrating an object. In the old version of the object the is defined variable using the following;
Code:
VALUES 'trunktypeX''0 none','1 coniferous','2 decidous','3 shrub'
As you can see it says '2 decidous' rather than deciduous...This is corrected in the latest version of the object but I want to be able to add a line of code into my forward migration script to be able to basically change that variable definition to the new definition. I just don't know how to do it and I can't seem to find anything about it online. Changing the old object isn't an option due to it being used by other people and it would definitely cause problems. Thanks in advance for any help.
_________________
ArchiCAD 17, 19 and 21
Windows 8

How to define Subroutine in Master Script

$
0
0
Author:Tsepov
Posted: Fri Sep 22, 2017 6:20 am (GMT+1)


On Master Script I need to do any calculations.
Whan I define subroutine, GDL says "Return without GoDub" error

!---------------->
GOSUB "MySub"

!-----------------
! defite MySub
!-----------------
"MySub":
RETURN
!<---------------

And if I write instruction END before define my subrotine, GDL say no errors, but...
2d and other script are not executes

!---------------->
GOSUB "MySub"
END
!-----------------
! defite MySub
!-----------------
"MySub":
RETURN
!<---------------

Please, help me!
How I can define and use subroutine in master gdl?
_________________
ARCHICAD - The Best!!!

How to use GDL to get building material ID?

$
0
0
Author:licheng6095
Posted: Fri Sep 22, 2017 7:06 am (GMT+1)


Hello everyone! How can I get the building material ID at GDL? Please give me help, thanks!





Forward Migration Help Needed!

$
0
0
Author:Erwin Edel
Posted: Fri Sep 22, 2017 8:12 am (GMT+1)


I would say it is a matter of putting
Code:
if trunktypeX = '2 decidous' then
trunktypeX = '2 deciduous'
endif
in the Forward Migration script.

Or is this what you have tried?
_________________
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-20 NED FULL
BIMx
Windows 10 Pro 1607 / OS X Sierra
Adobe Design Premium CS4

Forward Migration Help Needed!

$
0
0
Author:JGoode
Posted: Fri Sep 22, 2017 9:10 am (GMT+1)


Erwin Edel wrote:
I would say it is a matter of putting
Code:
if trunktypeX = '2 decidous' then
trunktypeX = '2 deciduous'
endif
in the Forward Migration script.

Or is this what you have tried?
I have not tried this, I didn't know the best way to scripting it. I will let you know how it goes, thanks.
_________________
ArchiCAD 17, 19 and 21
Windows 8

Forward Migration Help Needed!

$
0
0
Author:JGoode
Posted: Fri Sep 22, 2017 9:13 am (GMT+1)


JGoode wrote:
I will let you know how it goes, thanks.

It didn't seem to work sadly.

Edit: Got it working, just had to define it in the new object too Smile
_________________
ArchiCAD 17, 19 and 21
Windows 8

Forward Migration Help Needed!

$
0
0
Author:Erwin Edel
Posted: Fri Sep 22, 2017 9:54 am (GMT+1)


Great Smile
_________________
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-20 NED FULL
BIMx
Windows 10 Pro 1607 / OS X Sierra
Adobe Design Premium CS4

Forward Migration Help Needed!

$
0
0
Author:JGoode
Posted: Fri Sep 22, 2017 12:30 pm (GMT+1)


Erwin Edel wrote:
Great Smile
Hi, I have another issue with forward migrating. Basically I have 2 versions of the same object, one of which is an upgrade from the previous object. However the issue is that on one object
Code:
A = 0.95
and
Code:
 B = 2.2
but on the new object those are the other way around so
Code:
 A = 2.2 and B = 0.95
I can't seem to work out how to basically make them switch over using the forward migration script. Thanks for any help.
_________________
ArchiCAD 17, 19 and 21
Windows 8

Viewing all 3838 articles
Browse latest View live


Latest Images

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