Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

AC_StoryNumber as integer

I don't know why, but the parameter AC_StoryNumber is a TEXT type, even though the story number will always be an integer. This makes it unreliable to test in GDL whether the current story falls inside / outside a selected range, particularly when te...

Bruce by Booster
  • 167 Views
  • 3 replies
  • 0 likes

Resolved! Possible to change the surface origin?

Hello, I am trying to create an object which is essentially just a block which uses A, B and ZZYZX to set the dimensions. Is it possible to be able to change the surface texture origin to something that isn't 0, 0? I have looked through the GDL refer...

JGoode by Advocate
  • 318 Views
  • 10 replies
  • 0 likes

Resolved! n REQUEST for name of surface

Hi everyone,I need help how to write script to pull parameter for name of surface. I've tryed with n = REQUEST ("Name_of_material", "c", mat) and result that is writen in label is "GENERAL" no metter which surface I set in object, so I tryed withn= R...

NjegosT_0-1646990199558.png NjegosT_1-1646991035157.png NjegosT_2-1646991322040.png
Njegos T by Contributor
  • 215 Views
  • 5 replies
  • 0 likes

Resolved! Possible for the user to add to an array?

Hello, I am creating a 2D "person" object and I would like the clothes to be randomised using an array. I currently have it working as such: top_random = rnd(vardim1(top_colour)) pen top_colour[top_random] The user is able to edit the current values ...

JGoode by Advocate
  • 217 Views
  • 4 replies
  • 0 likes

Resolved! Can an object be room binding ?

Hello, I was messing around with the CWALL_ command and tried to create a simple room with 4 objects made with it but when I used the Zone tool, no closed polygon could be found. Is it expected behaviour ? And if it is, is there any command that allo...

Resolved! Scheduling REQUEST Data

Hi, I am attempting to manipulate some data from a Request and then display the result in a schedule.However the request data is disappearing when it is displayed in the schedule. Is anyone able to point me in the right direction? See below my pseudo...

scottjm_0-1646377497127.png
scottjm by Booster
  • 205 Views
  • 4 replies
  • 0 likes

Resolved! GDL SCRIPTING show home elevation in text in 2d

I´m trying to build an electricity socket that is 3D modelled but in floor plan it only shows a 2D symbol with a editable text (for the circuit) and an autotext for its elevation to home stroy. The idea is, circuit goes above (and it´s a manual input...

Screenshot 2022-03-01 174443.png Screenshot 2022-03-01 174456.png
Tezak by Contributor
  • 289 Views
  • 7 replies
  • 0 likes