{"id":38,"date":"2025-12-24T12:41:46","date_gmt":"2025-12-24T12:41:46","guid":{"rendered":"http:\/\/bimsoft.qa\/?p=38"},"modified":"2025-12-24T12:48:29","modified_gmt":"2025-12-24T12:48:29","slug":"bricscad-autoload-net-app","status":"publish","type":"post","link":"https:\/\/bimsoft.qa\/index.php\/2025\/12\/24\/bricscad-autoload-net-app\/","title":{"rendered":"BricsCAD &#8211; autoload .net app"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If you write a plugins in .Net and want to make this app available in  BricsCad after startup seems the most reliable way is to add following keys to you Registry:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#E6E6E6;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Windows Registry Editor Version 5.00\n\n&#91;HKEY_LOCAL_MACHINE\\SOFTWARE\\Bricsys\\ObjectDRX\\V21x64\\Applications\\YourApplicationName&#93;\n\"Loader\"=\"C:\\\\Temp\\\\YourAssembly.dll\"\n\"Managed\"=dword:00000001\n\"LoadCtrls\"=dword:00000002\n\"Description\"=\"Your description\"<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki slack-dark\" style=\"background-color: #222222\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #9CDCFE\">Windows<\/span><span style=\"color: #E6E6E6\"> <\/span><span style=\"color: #9CDCFE\">Registry<\/span><span style=\"color: #E6E6E6\"> <\/span><span style=\"color: #9CDCFE\">Editor<\/span><span style=\"color: #E6E6E6\"> <\/span><span style=\"color: #9CDCFE\">Version<\/span><span style=\"color: #E6E6E6\"> <\/span><span style=\"color: #B5CEA8\">5.00<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #E6E6E6\">&#91;<\/span><span style=\"color: #9CDCFE\">HKEY_LOCAL_MACHINE<\/span><span style=\"color: #E6E6E6\">\\<\/span><span style=\"color: #9CDCFE\">SOFTWARE<\/span><span style=\"color: #E6E6E6\">\\<\/span><span style=\"color: #9CDCFE\">Bricsys<\/span><span style=\"color: #E6E6E6\">\\<\/span><span style=\"color: #9CDCFE\">ObjectDRX<\/span><span style=\"color: #E6E6E6\">\\<\/span><span style=\"color: #9CDCFE\">V21x64<\/span><span style=\"color: #E6E6E6\">\\<\/span><span style=\"color: #9CDCFE\">Applications<\/span><span style=\"color: #E6E6E6\">\\<\/span><span style=\"color: #9CDCFE\">YourApplicationName<\/span><span style=\"color: #E6E6E6\">&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #CE9178\">&quot;Loader&quot;<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">&quot;C:<\/span><span style=\"color: #D7BA7D\">\\\\<\/span><span style=\"color: #CE9178\">Temp<\/span><span style=\"color: #D7BA7D\">\\\\<\/span><span style=\"color: #CE9178\">YourAssembly.dll&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #CE9178\">&quot;Managed&quot;<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #E6E6E6\">dword:<\/span><span style=\"color: #B5CEA8\">00000001<\/span><\/span>\n<span class=\"line\"><span style=\"color: #CE9178\">&quot;LoadCtrls&quot;<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #E6E6E6\">dword:<\/span><span style=\"color: #B5CEA8\">00000002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #CE9178\">&quot;Description&quot;<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">&quot;Your description&quot;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<pre class=\"wp-block-preformatted\">Where LoadCtrls = 2 is loading at startup.<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Seems there is not much info about Registry structure details at documentatation but there is some: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/help.bricsys.com\/en-us\/document\/knowledge-base\/installation\/bricscad-registry-structure?id=165245343756\">https:\/\/help.bricsys.com\/en-us\/document\/knowledge-base\/installation\/bricscad-registry-structure?id=165245343756<\/a><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">and this one is about how to get\/set BricsCAD templates and references folders:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br><a href=\"https:\/\/help.bricsys.com\/en-us\/document\/knowledge-base\/installation\/when-and-how-is-bricscad-initialized-using-root-folders?id=165245343864\">https:\/\/help.bricsys.com\/en-us\/document\/knowledge-base\/installation\/when-and-how-is-bricscad-initialized-using-root-folders?id=165245343864<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you write a plugins in .Net and want to make this app available in BricsCad after startup seems the most reliable way is to add following keys to you Registry: Where LoadCtrls = 2 is loading at startup. Seems &hellip; <a href=\"https:\/\/bimsoft.qa\/index.php\/2025\/12\/24\/bricscad-autoload-net-app\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,7,4,8],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-api","category-bricscad","category-c","category-cad"],"_links":{"self":[{"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":6,"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":44,"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/posts\/38\/revisions\/44"}],"wp:attachment":[{"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bimsoft.qa\/index.php\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}