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

Streamline your workflows and master BIM coordination! Program starts April 28!

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Getting a path from selected lines

Not applicable
Hi there,

I am trying to create a script to draw pipes along an existing path composed of intersecting lines in 3D.

Creating the pipe itself works well, but I have a problem getting the path in.

Does anyone know how to retrieve the information from selected items in a GDL script ?

It should existe and probably be obvious, but being new to it, I am probably missing something.

Thanks for your advice.
2 REPLIES 2
TomWaltz
Participant
I'm assuming you want an object to create a path based on elements you've selected with the Arrow Tool or Shift-clicking them. If so, GDL doesn't let you retrieve information from elements you have selected. You'd have to write something with the API (in C++) to do that.
Tom Waltz
Not applicable
Thank you for this reply, Tom.

The whole idea behind my previous request is to quickly layout the pipes path on the floor plan and define the requested slope in the object to automate the 3D drawing.

I guess we will currently stick to the pipe objects we have designed and have a look at the API in the near future (v12), unless someone has a better idea, of couse.

Thnaks & best regards,