GerryT

Members
  • Content Count

    404
  • Joined

  • Last visited

Community Reputation

49 Excellent

About GerryT

  • Rank
    Member

Profile Information

  • Gender
    Male

Recent Profile Visitors

700 profile views
  1. GerryT

    Angle Attribute ?

    U+2220 - U+2222 in Cambra Math
  2. Most likely it was copied from a previous upgrade. Change the path in preferences/general/ruby from x8 to x10
  3. From reading your posts, I haven't the slightest idea of what your trying to accomplish. Trying to understand why you don't just put the file in your scripts directory and let Chief handle the path automatically for the MAC or PC. File.read ($LOAD_PATH[0] +"test_1.txt") Eliminates need for any path. Note that macs do not use letter drives
  4. GerryT

    Keynotes in Chief Architect

    Was Removed because of a general lack of user interest and Chief's support for macros. I am no longer recommending macros in Chief but you may want to contact Michael or Joe who have simpler solutions. Here's new link if your still interested. Keynotes
  5. best option is to just create a framing schedule -- gives everything you want If you want to differentiate studs in a material list. you have to create a difference between stud objects and material skin is not recognized by the material list as a parameter. so you have to use the ruby objects. such as line type or some other unimportant parameter. Select all your new studs and change something into something. Add a object macro into the material list in one of the unused fields Referencing the changed parameter.. Right click and select "divide into multiple values" Michel can help with that.
  6. GerryT

    Macro people, is there a way...

    Not in practicality ? This is only possible in X10 but if you close the plan and reopen the sequence will re-number in a different order. So -- more trouble than its worth.
  7. GerryT

    Ruby Code Help

    Eastern time zone-- sent you a PM.
  8. GerryT

    Ruby Code Help

    There is no attribute for wall height in Chief as of now. You can check the available attributes for any object by selecting the object and using the macro 'ObjectProperties'. ( or load a custom list macro - easier. Generally wall heights are determined by using the room attribute finished_floor_elevation and ceiling_elevation etc. There is no default method to load or save Globals with the plan in Chief -- as of now. There are several workarounds -- depending on your preference & effort. The easiest to just put your Globals in a Script to be automatically loaded on the start of Chief. However, if you change a Global than you have to manually change the script. You can also load and save a text file. You can also load and save Globals in a hash using Marshall - Which is beyond the scope of a few paragraphs here -- several other options based on your level of desired effort. Happy to do a "goto meeting" with you to explain/explore options if you want to explore further & think it's worth while? Otherwise just put them in a macro to be executed within a object or the MM or the OIP of a object.
  9. GerryT

    Ruby Code Help

    You can use either if you use owner.area, you do not need to set Context and can leave it at none. As always, the object must be selected or the macro must be in a label.( assuming reference is not used)
  10. GerryT

    Ruby Code Help

    You can't use 'puts' in a CA macro as it writes a string to the console and there is no console to write to. CA transfers the output of a macro to their display internally. Use 'p' instead. It returns 'inspects' instead of string. Also macros only return the last known value so using multiple 'p' or puts will not give a multiple line output. Your last string is the correct method of chaining strings for output although Using expression substitution , #{} is a cleaner method. You might consider using a polyline with label (avoids using reference) as a more reliable method. to stop it's output to the label -- just end with a nil
  11. GerryT

    Plan Area Macros

    This topic is sooo common that i assumed you did a search beforehand. Both Joe and mike sell macros to do this and have been doing so for years. This is extremely simply to do and if your interested in doing it yourself and want to invest in some "gotomeeting" time -- just PM me -- most would rather go the easier route.
  12. GerryT

    Plan Area Macros

    Absolutely -- not more than 10 minutes work!! Just call Joe or Mike.
  13. GerryT

    The Big Secret

    Revit, Rhino, Vectorworks and Allplan all have Python support. Form-Zis working on Python. Sketchup does ruby. Although i do think that Python may integrate better, I still think Ruby is a easier language to learn for the novice. And ruby 3 will have some advanced features. Wonder where Chief is and what is their position is now? -- With a few improvements and a keyboard interface using Chief's hotkeys, I think Chief's Ruby API could quickly rival the above in versatility? Are Chiefer's going to be left behind? What do you think? Open up Data Access in CA.
  14. GerryT

    Construction Notes in Chief Architect

    Sent you the files via direct e-mail Good Luck?
  15. GerryT

    RUby Rescue or

    Just looked at your response and have to say that I did not realize that you could have a condition with or without a > sign (optional??)on the end? in that case, the proper code would be: x = owner.supplier.gsub(/(>[0-9]*>?)|\n/,'') --(note the ? mark) -- only if the optional > is always on the end. If the optional > might also be in the front - a different macro is needed if that number is not to be removed? Your solution looks OK though, you can get too cute in putting everything in one statement. Many times it's easier to understand with multiple statements in lieu of one.