I'm a bit confused about how the "components" tab works in CA at the Specification panels, and I can't find a clear description of it either on the forum or in the CA Help. Could someone help me understand it?
My problem and my desired outcome is the following:
I have to design a French drain system around a slab. I want to put into the material list the pipes, the gravel around the pipes and the geotextile fabric around the gravel. The slab is quite big and has a complex shape, so I wanted to rely on the material list calculation rather then recalculation it by hand each time the plan is modified.
My idea was to use a polyline solid () for representing the gravel, and use its surface to represent the geotextile fabric. The quantity of gravel should be calculated based on the volume, and the area of the geotextile should be calculated based on the surface area of the cube. Maybe this is not the right approach, but I couldn't find a better solution.
When I assign the gravel material to the cube, I automatically get a component that is calculated based on the volume.
However, if I add another component to symbolize the geotextile, I can't use any macros for its surface area.
I tried using "= automatic_count" but it always returns 1. If I create a macro in the CAD -> Text -> Text Macro Management window, it always throws an "Evaluation error" message.
What determines the value returned by "= automatic_count"? And why can't I use it in a second component?
Thank you very much !
I recently updated to X15 and after doing so I have had a few problems. The last one I have to fix is my macro for auto cabinet label generation.
I am by no means a programmer and I barely understood ruby when I made this macro. I have been trying to relearn but I still can't figure out what my problem is.
I have attached my macro below and this is the error I have been getting:
Evaluation Error: Ruby TypeError: no implicit conversion of nil into String
from eval:10:in `eval'
from eval:10:in `block (2 levels) in <main>'
from eval:4:in `loop'
from eval:4:in `block in <main>'
Any help is apricated. Thanks in advance!
Is there a way to write a custom command to auto-place lights?
I've used chat GTP to write code that I'd like to utilize. I have attached a word file and pdf that I need proof read and corrected. I can have that done.
Below is the code, but I'm not sure if it will format correctly:
'Ask the user to select the room size and ceiling height
Dim roomWidth As Double
Dim roomLength As Double
Dim roomHeight As Double
roomWidth = InputBox("Enter the width of the room in feet:")
roomLength = InputBox("Enter the length of the room in feet:")
roomHeight = InputBox("Enter the height of the room in feet:")
'Calculate the square footage of the room based on user input
Dim roomArea As Double
roomArea = roomWidth * roomLength
'Determine the recommended lighting level for the room based on the ceiling height and room type
Dim lightLevel As Double
Select Case roomHeight
Case Is <= 8
lightLevel = 10
Case Is <= 9
lightLevel = 20
Case Is <= 10
lightLevel = 30
Case Is <= 12
lightLevel = 40
MsgBox "Invalid ceiling height"
'Calculate the number of lights needed based on the room size and the recommended spacing
Dim lightSpacing As Double
If roomArea <= 100 Then
lightSpacing = 48
ElseIf roomArea <= 225 Then
lightSpacing = 64
ElseIf roomArea <= 400 Then
lightSpacing = 80
lightSpacing = 96
Dim lightCount As Integer
lightCount = Application.RoundUp((roomWidth + roomLength) / lightSpacing, 0)
'Determine the optimal spacing for the lights based on the room size and ceiling height
Dim xOffset As Double
Dim yOffset As Double
If roomWidth >= roomLength Then
xOffset = lightSpacing
yOffset = lightSpacing * roomLength / roomWidth
xOffset = lightSpacing * roomWidth / roomLength
yOffset = lightSpacing
'Place the lights in a rectangular or square pattern within the room
Dim lightType As String
lightType = InputBox("Enter the light diameter (4 or 6):")
Dim x As Integer
Dim y As Integer
Dim light As Object
For x = 1 To lightCount
For y = 1 To lightCount
Set light = ActiveDocument.CreateLight("Recessed Can Light", lightType & """", "General")
light.Move (x - 1) * xOffset, (y - 1) * yOffset, roomHeight - 48
'Generate a report or summary of the lighting plan for the room
Dim report As String
report = "Room Size: " & roomWidth & " ft x " & roomLength & " ft" & vbCrLf
report = report & "Ceiling Height: " & roomHeight & " ft" & vbCrLf
report = report & "Recommended Light Level: " & lightLevel & " lux" & vbCrLf
report = report & "Number of Lights: " & lightCount ^ 2 & vbCrLf
report = report & "Light Spacing: " & lightSpacing & " in" & vbCrLf
report = report & "Light Type: " & lightType & """ Recessed Can Light" & vbCrLf
Any help would be appreciated.
Sub PlaceLights.docx Sub PlaceLights.pdf
I am creating a design for my home renovation and have a spot where I want to run a rafter over a load-bearing wall or beam. I figured the rafters would be split into two groups at this bearing point.
Is there a way to do this in Chief? I'm at the top version now: Architect Premier X14.
I've tried beams and fake walls but I can't seem to find anything to trigger a break point. It looks like for floor joists there are some options to this effect but I can't find anything for roofs/rafters.
I've attached my test project for this concept.
having an issue getting x14 to report the information my estimator is asking for. we primarily focus on remodels, therefore a vast majority of our projects require demo work. we stick estimate and account for sf, lf, area, and each of items for removal. In a lot of cases this is not a across the board or entire area basis or even within complete room. My team has been inquiring if the program has the arability to produce a schedule i can put on layout so they don't have to physically do the calcs for the area of drywall being removed then reinstalled. i understand i have to run a material list to have the program run the total. i have figured out how to get the program to total Base, Casing, Flooring, Ceiling area, electrical and plumbing fixtures. im wanting to see if there is some way i can set this up to pull with the ease of a schedule without having to go in and create a material list for each room involved write down the area from that then say create a room list for every program. thining there might be a macro or some way to achieve this in a custom schedule and have ran into a wall every way ive tried to run it or set it up. i will attach the current project im working on for reference. the rooms im looking to complete said schedule or report are listed in the room area schedule to the right of the 1st floor plan23-6416-Newton-Existing.plan