2018-04-12
02:58 AM
- last edited on
2022-12-06
01:42 PM
by
Daniel Kassai
2018-04-18 09:44 AM
2018-04-19 06:26 AM
2018-04-19 10:29 AM
2018-04-20 02:06 AM
2018-04-20 02:58 AM
2018-04-20 10:55 AM
2018-04-25 03:47 AM
2018-04-25 10:39 AM
park wrote:Elements store the index of the layer they are on (not the name), so you need to look up the layer first to retrieve its index. Don't hardcode the index because it can change. Then you will need to iterate through the elements to search for the required layer index. If you're searching for a specific element type, e.g. text, you can use
I have the following questions.
1) How to find a list of elements with a specific layer name (ex: "exp1")?
How do I find a text element with a layer name "t1"?
park wrote:I wrote my own methods for this before the ARCHICAD API existed, so I don't know what it has to offer in this respect.
2) What is the function formula that calculates the points that meet on the extension line in the algorithm that finds the intersection point of two straight lines in 2D plane?
park wrote:You will have to iterate through all the elements to find those with a specific ID – I'm not aware of a shortcut. If you change any attribute, an element can be written back to the database with
3) How can I retrieve a list of elements with a specific ID and change the attribute information?
2018-05-09 12:58 PM
2018-05-10 02:45 AM