How Can We Help?
X-section rules live on the series like any other rules (see
Writing a rule), with two X-section-specific choices:
| Rule field | X-section values |
|---|---|
| Level | Overall, Facet, Frame, Sash, Glass, Glz Bead, Grid, BkgroundOp, Opening, Divider, Coupler, or Mullion — the design-tree node whose section this rule places. |
| Position | Top, Bot, L, R, V, or H — which side/cut of that node the section belongs to. |
The rule-type range
| Types | What they do |
|---|---|
| 301–318 | Set variables / operations on the current section: delta X, delta Y, rotate degrees, flip V or H. These accumulate until a placement rule consumes them. |
| 319 / 320 | Use the X-Section Part — place the part’s image using the operations set so far, and add the section (with its delta/rotate/flip parameters) to the drawing. |
Sequence matters: the transform rules (301–318) must come before the placement
rule (319/320) they belong to — the same create-then-attributes discipline as
notching rule sequences.
Types 313–317 (including the V/H flips 316/317), 319 and 320 are not in the
rule-type dictionary, so they display as bare numbers in the Rule Type combo. X-section rules run
in the rules engine’s extended pass (rule types > 300), after the main construction
pass — they never affect parts, pricing, or the BOM.
Build the rules incrementally and test as required: place one section, draw it on a test
unit, adjust ΔX/ΔY, then move to the next level. Dimension lines (C, B, BA, A per level) are
generated automatically for every opening the cut crosses — no rules needed for those.
One rule draws the section: Draw cross-section
Instead of a separate 319/320 rule and picture part, tick Draw cross-section on the rule that already
puts the profile on the unit (OJ Setup → Series → Rules; the tick box shows for Part,
Part Matrix, Profile Matrix and Rule Segment rules). Wherever a cut crosses that part,
its section is drawn.
- The picture is the part’s own (Parts → section picture, image scale, ΔX/ΔY),
drawn as a sill: opening up, exterior on the left. OJ turns it for the other positions —
mirrored top to bottom for the head, turned for the jambs (opening towards the glass, exterior at the
bottom) — and turns the ΔX/ΔY with it. So one picture serves head, sill and both jambs. - A segment rule passes the tick on to every part it places, so ticking the one segment rule
that brings in a frame draws the frame profile at all four sides. - The 301–318 transform rules do not apply to a ticked rule.
- An older 319/320 rule drawing the same profile at the same position is skipped where a ticked
rule draws it; a 319/320 bound to another profile (for example a frame-and-sash picture on the sash) still
draws, so retire those rules when you switch. - A ticked rule whose part has no section picture draws nothing (the server log names the part once).