Name_of_plan not adding to parameter
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-20 11:18 AM
2019-11-20
11:18 AM
I'm trying to add the name of my project to a parameter but for some reason it doesn't fill the field?
Here is my script:
rrr=REQUEST("Name_of_plan", "", prj_name, prj_fullname, prj_path) zx = prj_fullname parameters zx=zxI feel like this should just work but doesn't, Any ideas as to how to solve it?
Thanks
ArchiCAD 27
Windows 10
Windows 10
13 REPLIES 13

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-25 03:28 AM
2019-11-25
03:28 AM
JGoode wrote:I don't think you can add it to a parameter value.
Hello,
I'm trying to add the name of my project to a parameter but for some reason it doesn't fill the field?
Here is my script:rrr=REQUEST("Name_of_plan", "", prj_name, prj_fullname, prj_path) zx = prj_fullname parameters zx=zxI feel like this should just work but doesn't, Any ideas as to how to solve it?
Thanks
But there is no problem with the REQUEST and the returned values - except for prj_name - this doesn't seem to do anything.
But the returned vales for prj_fullname & prj_path work just fine in the master or any other script.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-25 08:28 AM
2019-11-25
08:28 AM
@Ling
The second quote doesn't appear to me ... I wonder why ??
@Ling + @JGoode
It can work, if you create custom autotexts, then all you have to do is to concatenate them.
The second quote doesn't appear to me ... I wonder why ??
@Ling + @JGoode
It can work, if you create custom autotexts, then all you have to do is to concatenate them.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-25 08:52 AM
2019-11-25
08:52 AM
Moonlight wrote:
The second quote doesn't appear to me ... I wonder why ??
As in it is blank in the post? Or that you cannot find it in the thread? It is from the GDL forum
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-11-25 08:57 AM
2019-11-25
08:57 AM
JGoode wrote:
What I want to achieve involves cutting up the name of the project to get the first 5 numbers of the project name. I have no use for it to be outputted in 2D / 3D. It’s not necessarily needing to store it as a parameter but I do need to be able to use the string (like a parameter). I don’t know if there is a way of doing so?
Use STRSUB to get just part of the fullname.
You still can't set it as a parameter, but you can use it in a TEXT2 command, or I have used this to create text files for various outputs, so they have the same name as my Archicad file.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »