MP_DLG.lsp — Mix Profile Dialog Handler (CRITICAL)¶
Module: mp_dlg.lsp
Version: v3.60
Category: Dialog Boxes (Panel)
Complexity: High
Size: 6.6 KB (196 lines)
Warning
Master Panel Dialog
This is the primary panel configuration dialog - the entry point for all panel creation and editing. It coordinates all other dialogs and manages the overall panel workflow.
Overview¶
Purpose¶
The mp_dlg (Mix Profile Dialog) is the master control dialog for panel configuration. It manages panel type selection, calls sub-dialogs for detailed configuration, and coordinates the overall panel creation workflow.
Critical Role¶
This dialog:
Determines panel type (standard, arch top, etc.)
Calls all feature dialogs (pp_dlg, ch_dlg, wc_dlg, etc.)
Manages dialog navigation flow
Validates overall panel configuration
Triggers final drawing generation
Dialog Workflow¶
User creates/edits panel
?
(mp_dlg) displays main dialog
?
User configures mix profile
?
User clicks feature buttons ? Opens sub-dialogs
?
User clicks OK ? Validates and generates
Sub-Dialogs Called¶
pp_dlg- Panel parametersch_dlg- Chamfersdl_dlg- Dowels/liftsdr_dlg- Dowels/rebarwc_dlg- Weld connectionsbp_dlg- Base platesfh_dlg- Foundation headsfv_dlg- Foundation voidsro_dlg- Roof features(10+ sub-dialogs total)
Control Pattern¶
Prefix: mp (Mix Profile)
Key Controls:
mpa1- Mix profile activation togglemptp- Top plate typempsc- Scale factor selectionButton tiles for each feature type
Global Variables¶
Input:
All
mp*variablesPanel configuration state
Modified:
mpv#- Panel versionok- Dialog resultAll feature enable states
Validation Logic¶
Checks:
Arch top + embed array incompatibility
Required field population
Feature interdependencies
Dimension validity
Alerts:
"Cannot use Embed Arrays for Top Plates on Arch top Panels."
"Metal Top Plates are set flush to Top of Concrete.
Please check and adjust Panel top elevations if necessary."
Document Metadata¶
Status: Critical module - comprehensive analysis
Last Updated: 2026-01-20
End of Document