Junction Diagram Automation Suite 1.5.1
An AutoCAD 2024 plugin for the manipulation and generation of junction box wiring diagrams
Loading...
Searching...
No Matches
JBoxApp.h
Go to the documentation of this file.
1
12
13#pragma once
14
15#include <filesystem>
16
17#include "common.h"
18#include "JBoxBuilderDialog.h"
19
28class JBoxApp : public wxApp
29{
30public:
39 virtual bool OnInit();
40
48 void BuildJunctionBox();
49
68 void FlipCable();
69
93 void ReIndex();
94
107 static void DrawJunctionBoxes(void *data);
108
109
110private:
111 wxWindow *acadWindow = nullptr;
112
127 static void CreateDrawingFromTemplate(void* data);
128
129};
Interface for the JBoxBuilderDialog class.
The main application class for the Junction Box Automation tool.
Definition JBoxApp.h:29
void FlipCable()
Flips the orientation of selected cable or termination blocks in the drawing.
Definition JBoxApp.cpp:120
void ReIndex()
Recalculates and updates terminal numbers for selected junction-related blocks.
Definition JBoxApp.cpp:214
void BuildJunctionBox()
Opens a dialog to configure and draw a junction box diagram.
Definition JBoxApp.cpp:74
static void DrawJunctionBoxes(void *data)
Draws one or more junction boxes in the active AutoCAD drawing.
Definition JBoxApp.cpp:341
virtual bool OnInit()
Initializes the JBoxApp application.
Definition JBoxApp.cpp:64
Common includes and definitions.