PDA

View Full Version : Is there an existing command, or way to break wall objects, while avoiding openings, into segments of a specified length?


jhill1
2009-06-01, 09:24 PM
Hello-

I'm having this same problem in 2009 and 2010 on both ACA and MEP

I'm trying to come up with a way to break walls into shorter lengths, for framing purposes. a 50' long wall in a house isn't built in that fashion, it is actually built from shorter lengths of 14' or 16' long.

Part#1
I'm looking for a way to draw all of the walls, with doors and windows, then execute a command that prompts for a maximum wall length "L". After the user enters "L" the command will find all walls longer than "L" and will break them at "L" from the starting point. This command would continue a loop until all walls were equal or less than "L".
Part#2
You can't break a wall at an opening, so there would need to be a way that the command would confirm that "L" didn't occur in the middle of an opening before preceeding. If this was the case the program would try length less than "L" - "L2", "L3", "L4", "L5", and "L6".

For instance:
"L" = 192 aka 16'
"L2" = 168 aka 14'
"L3" = 144 aka 12'
"L4" = 120 aka 10'
"L5" = 96 aka 8'
"L6" = 72 aka 6'

If there is some sort of an event that those length dont work, then leave the wall unbroken, and have the user modify it......maybe changing the wall color to something or giving it some sort of indicator <shrug>

I've included a sample file, that dosen't have the walls broken, but can be used for testing purposes.

You may need to download the VisionREZ Object Enabler, to see my roof objects, but everything else is standard ACA/MEP

http://www.visionrez.com/Downloads/V...nabler_6.4.zip


Thanks in advance for the help

Jamie