We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2005-03-14 03:51 PM
2005-03-14 07:33 PM
Barry wrote:Hi Barry,
I have created several "super parts" and I'm in the process of creating another. Is it possible to script parameters in the part to select a defined property by a series of criteria? For example a wood joist: width= 5 1/2", height=7 1/4" and the length is between 12' and 14'. The part would use the named property? How would I and where would I script something like that? Thanks.
2005-03-14 07:45 PM
2005-03-14 07:56 PM
2005-03-15 05:48 AM
Barry wrote:Yes... logic (IF THEN) based on parameters and computations that is used to either generate directly the desired component, or to retrieve it from the database.
Are you saying it is possible to script in the property script a set of parameters that directly connects to the database?
Using my previous example: a 6x8x14 beam. I could use a series of IF THEN statements that would point to the componant I created in the database that corresponds to a 6x8x14 beam? This would mean if I was counting each piece I would not need to create a specific property part for items, I could just hard script it in the part?Yes. (And to clarify for passersby... Barry is talking about a GDL Object that is a beam, not a beam placed with the beam tool. A beam tool beam has to be handled via a linked Property Object.)
I believe your other question about having both a scripted componant and a property linked works. I am using a the log home solution that has materials generated by the solution set and I have linked properties to the same parts and both generate.Good to know. Thanks. Figured it would, but you know how what you expect isn't always what happens!
How do I script in the property script to choose a componant? What parameter do I tell it to look for?(ie the componant number, name???) Thanks again.You're welcome.
2005-03-15 03:00 PM
2005-03-16 10:16 PM