-
Posts
12059 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by Joe_Carrick
-
You need to click on the Stair and then select the "Auto Stairwell" icon on the "Edit Toolbar". That will create the opening in the floor above.
-
When (which version) did CA add the ability to name our user defined "line styles" and retrieve the name from the Ruby attributes? I remember years ago that the user defined "line styles" were only given a number and there wasn't any way to get the actual name. I know I had mentioned it to someone at CA (Jason I think) but I had no clue that the real names were now available. Whoever did it and whenever they did it -- Mucho Gracias.
- 1 reply
-
- 1
-
-
Thanks for the offer - but I'm more interested in a generic approach that I can use for a variety of different shapes and configurations. Ideally, it would be a specific tool (Terrain Feature - Swimming Pool) with all the options. I'm probably just dreaming. For now, I will plan on using Robert's method - at least until something better comes to mind.
-
Maybe X12 since it's nearing Beta testing. I think the CA staff is probably already using X12 - at least some of them would be.
-
When was the video made? Maybe it's a feature that will only be in a future release...…
-
Hi Robert, That's a pretty nice solution. I'm not sure how well it would work with a oval or kidney shaped pool. One of the things I am most interested in is being able to get and display the areas of water and the pool deck as separate items. The PSolid and Roof Plane should be sufficient for that.
-
I've been trying to come up with a way of doing this so that: It looks right in 3D There's an optional Pool Deck Edge (probably a Molding) The Slab (Pool Deck) has a hole that moves with the Pool Pool Surface is below top of the Slab Pool has a variable depth It's not easy. Does anyone have a great method for doing it?
-
You have to specify the room as the thing you want to get the internal_area of. Try this macro: ######################################################## # Macro Name: "room_internal_area" # Displays the internal area of the room a Note is in. ######################################################## # Copywrite by Joseph P. Carrick, August 2, 2019 ######################################################## referenced ? obj= referenced : obj=owner begin obj.room.internal_area.round(2) rescue "object isn't a Room" end You have to specify the room as the thing you want to get the internal_area of.
-
Try using the "All ON" Layer Set.
-
no, no, no - do not copy and paste in the plan. Send to Layout is OK but if you copy and paste in the plan then you will have 2 identical schedules and 2 labels.
-
Expand "CAD Details" Select and open "Window Schedule" Turn on the "Schedules" Layer It's there just like Chopsaw said.
-
Nothing. The macro just has to be assigned to the Label of a Layout Box. Of course you need to create the macro - name it builder_plan_name
-
OK, it's now finished and ready for Prime-Time. See https://chieftalk.chiefarchitect.com/topic/23944-site-area-analysis-macro-system/
-
It might work as just a one line macro. I'm not sure because sometimes Ruby doesn't like too many methods on a single line. IAE you can try it: result = referenced_full_filename.rpartition("_Builders/")[2].rpartition("/")[0]
-
I now have my new X11 Site Area Analysis completed. The price for this System is $125.00 - payable into my PayPal Account joe.carrick@dslextreme.com A complete description follows: SITE AREA ANALYSIS MACRO PACKAGE Created by Joseph P. Carrick October 13, 2019 This macro package uses a single macro %site_Areas% placed in the Label of any Chief Architect Object that has the area attribute. Normally that will be a closed Polyline, Polyline Solid, Slab or a Terrain Feature such as a Driveway or Sidewalk. There are several aspects of the Object that are taken into account in how the data is used: Layer - generally names and Labels the area Line Styles – property and setback are automatically recognized Line Styles -- new, existing and demo are also automatically recognized - the Polyline will be labeled as “(N)”, “(E)”, “(D)” Floor Level (referenced floors) are automatically recognized for any building Layers Names containing "Building", "Home", "Structure", "Residence", "Garage", "Storage", "Shed" are automatically recognized as BUILDINGS. Layers Names containing "Building", "Home", "Residence" are automatically recognized as HABITABLE Layers Names containing "Roof", "Slab", "Walk", "Driveway", "Water", "Concrete" are recognized as IMPERMEABLE. Layers Names containing "terrain" will be analyzed according to their material for Impermeable recognition. Layer “(O)” is recognized as an overlapping area of the Impermeable areas and subtracted from the total Impermeable areas. If a Layer Name contains “(N)”, “(E)”, “(D)” they are recognized as NEW, EXISTING & DEMO respectively. There can be only one Property Line and one Setback Line. The same Layer can be used for more than one object. The system will keep track of them as different areas The same Layer can be used on different floors and if the floor is displayed as a “Reference Floor” the areas will be included. The following macros are included to list, calculate & display the accumulated data: %site_Areas_FAR% - displays the Floor Area Ratio %site_Areas_List% - displays the list of all areas %site_Areas_List_Demo% - displays the list of all Demo areas %site_Areas_List_Existing% - displays the list of all Existing areas %site_Areas_List_Ground_Floor% - displays the list of all 1st Floor areas %site_Areas_List_Habitable% - displays the list of all Habitable areas %site_Areas_List_Impermeable% - displays the list of all Impermeable areas %site_Areas_List_New% - displays the list of all New areas %site_Areas_List_Coverage% - displays the lot coverage calculations %site_Areas_total_New_plus_Existing - displays the total of New and Existing All of the above macros are contained in a Library Object named “SITE AREA ANALYSIS RTB” which when placed in a Plan will add all the macros into the plan. There are also Annosets and Layer Sets that can be imported to make setup easier. These have been provided to use with Imperial Units but can be the basis for Metric versions. The macros are designed to recognize which system is in use and use the appropriate units in the data display. Whenever something is changed in the plan, the data in the RTB should be updated automatically. However, this might not always happen so it's important to press and hold the F5 key for a couple of seconds to insure the data is correct. This must be done before printing a Layout.
-
Sure, but a better method would be to use: result = referenced_full_filename.rpartition("_Builders/") result = result[2].rpartition("/") result = result[0] This way you only have to know that you want to eliminate everything up-to and including "_Builders/" and everything after the last "/". Note that I'm using the "/" instead of the "\" because that's what Chief uses in the referenced_full_filename attribute.
-
The actual characters would be required - or the number of "/" characters - or maybe if you just want to eliminate everything after the last "/". There are several possibilities. The macro can become more complex - actually just longer - depending on what rules you want to follow. Ruby is mostly about manipulating data and performing calculations. This case is basic manipulation of a text string - which is very much just an array of characters.
-
nstart = 43 nlast = referenced_full_filename.length-1 result = referenced_full_filename[nstart,nlast] result = result.gsub(".plan","") result = result.gsub("/Hardin","") explanation: line 3 sets the result to the characters starting at the 43rd character and ending at the last character line 4 strips all instances of ".plan" from the result line 5 strips all instances of "/Hardin" from the result
-
I have a macro that will show (in the Ruby Console) all the attributes for any selected object. Here's the list for a typical Layout Box: automatic_label ------------ "Graph Schedule Section/Elevation" ------------------------------------------------------------------------------------ String box_scale ------------------ "1/4 in = 1 ft" ------------------------------------------------------------------------------------------------------- String drawing_group -------------- 1 --------------------------------------------------------------------------------------------------------------------- Integer floor_number --------------- 1 --------------------------------------------------------------------------------------------------------------------- Integer height --------------------- 5.390048486681028 ----------------------------------------------------------------------------------------------------- Float layer ---------------------- arch-d_layout_box_borders --------------------------------------------------------------------------------------------- Symbol layer_line_color ----------- 255 ------------------------------------------------------------------------------------------------------------------- Integer layer_line_style ----------- 0 --------------------------------------------------------------------------------------------------------------------- Integer layer_line_weight ---------- 1 --------------------------------------------------------------------------------------------------------------------- Integer layer_set ------------------ "Arch-D Print" -------------------------------------------------------------------------------------------------------- String layer_text_style ----------- "HIDDEN" -------------------------------------------------------------------------------------------------------------- String line_style ----------------- solid ----------------------------------------------------------------------------------------------------------------- Symbol line_weight ---------------- 1 --------------------------------------------------------------------------------------------------------------------- Integer object_type ---------------- layout_box ------------------------------------------------------------------------------------------------------------ Symbol referenced_filename -------- "Jason Bales Residence - Phase 1" ------------------------------------------------------------------------------------- String referenced_full_filename --- "D:/Dropbox/Chief Architect Projects/X11/Jason Bales Residence - Phase 1/Plan/Jason Bales Residence - Phase 1.plan" --- String referenced_layer_set ------- "All On Set" ---------------------------------------------------------------------------------------------------------- String width ---------------------- 3.6485143922610597 ---------------------------------------------------------------------------------------------------- Float
-
Note: %file% displays the name of the Layout File, not the Plan file the Layout Box came from. IAE. It's not possible to manipulate the Chief standard Global and Object macros from within a user macro because the underlying data is basically not directly available.
-
Try this as a custom macro placed in the Layout Box Label: nlen = referenced_full_filename.length-1 referenced_full_filename[43,nlen].gsub(".plan","")
-
No, but it's fairly simple to do. There are 2 Ruby Attributes of a Layout Box that can be used: referenced_full_filename - same as %file% referenced _filename - just the name of the file that was sent to layout. It would actually be better to know what set of letters you want to eliminate rather than a specific number of characters. For example: d:\Users\username\DesignWork\CAX11\Builders\ where you provide the actual username.
-
Why doesn't my material list show other lumber components?
Joe_Carrick replied to 22trobbins's topic in General Q & A
You should probably contact Tech Support. They will be able to walk you thru it, step by step. -
Michael, My Footing is 32" wide x 18" high. This is a Slab Footing with a -12" offset. Chief reports the foundation wall length as 440", footing thickness as 32", quantity of concrete in footing as 267264.0 cu.in. 267264 / 32 / 440 = 18.98 This still isn't correct - possibly because the footing itself is actually 24" longer than the stem wall. That would make the footing thickness calculate to 18.08" - close enough. Using the footing rebar length really doesn't work since it's the total - depending on the number of bars which is also not reported. In my case I have 2 #4 bars and the reported length is 936" btw, I tried setting the rebar overlap to 0 and then my rebar length was reported as 872" - which gives a length of 436". The bottom line is that the data available isn't really sufficient to accurately get the height of the footing.