We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2013-07-19 06:50 PM - last edited on 2023-05-24 11:46 AM by Rubia Torres
2013-07-20 08:29 PM
2013-07-22 02:42 AM
!GLOB_CONTEXT = 44 !! use prism to cut bowls when used in Solid Element Operation if GLOB_CONTEXT > 40 and GLOB_CONTEXT < 50 then ADDz -bench_thk PRISM_ 5, bench_thk, sink_rim,sink_rim,15, a-sink_rim,sink_rim,15, a-sink_rim,b-sink_rim,15, sink_rim,b-sink_rim,15, sink_rim,sink_rim,-1 DEL 1 endif
2017-10-10 02:10 AM
Barry wrote:This is only about four years after the fact, but I wanted to say that script worked a treat!! Thanks, Barry.
"SEO blocks" can easily be scripted into an object.
Here is one I use for a sink bowl.
!GLOB_CONTEXT = 44 !! use prism to cut bowls when used in Solid Element Operation if GLOB_CONTEXT > 40 and GLOB_CONTEXT < 50 then ADDz -bench_thk PRISM_ 5, bench_thk, sink_rim,sink_rim,15, a-sink_rim,sink_rim,15, a-sink_rim,b-sink_rim,15, sink_rim,b-sink_rim,15, sink_rim,sink_rim,-1 DEL 1 endif
The block will not show at all and will only be used when the object is involved in a SEO with another element.
You could add a toggle switch parameter that would allow you to see the block in 3D and also adjust the size of the block.
Barry.
2017-10-10 02:34 AM
dirty wrote:You are welcome.
This is only about four years after the fact, but I wanted to say that script worked a treat!! Thanks, Barry.