BRX Plugin won't load all the times
I have an .BRX application and I have selected both checkboxes. Loaded and AutoLoad. Sometimes it won't load anyway and AutoLoad is still checked but Loaded is not. I have to go in and out of BricsCAD several times and if I'm lucky both will stay on and the plugin is Autoloaded.
It happened now with version 25, but I have had the same for previous versions. What could that be?
Also for several of my colleagues it's impossible to load a drawing at all with the plugin loaded. The screen just get's white and stays white. They have to first open an empty drawing. Load the plugin and after that load the dwg.
Comments
-
It’s your code? Usually, this happens when attempting to access something document related in On_kInitAppMsg, when there’s no document
0 -
The plugin has worked without problems in AutoCAD for 20 years but we converted it to BricsCAD a few years ago and it works most of the times, but with some issues like this. But it's mostly problems with my colleagues who run the PRO version. I have the Ultimate version (developer) and usually never get any of the issues they have. Is there something different between the versions?
So it's not easy to troubleshoot or figure out what the problem might be.0 -
Yep, things change. 20 years ago, there wasn’t a start page, or a zero-document state. It was common practice to assume there was a document on loading. Now you have to assume there’s not. It’s probably not an Ultimate vs Pro, it’s probably a difference in setup, or how the app is launched. Example, opening the program by double clicking on a drawing vs a shortcut is a big difference in behavior
I would start by creating a log file
0 -
Is there a good example somewhere on how to start the plugin to prevent issues?
0 -
Here's an example of what I do
0 -
Okay. I will look at it. In my plugin it's made more or less as this AutoCAD example:
It's been like this for the last 20 years (I didn't write the original code. I just made the BricsCAD conversion)
0