Questions tagged [bricscad]

Ask Question

The tag has no usage guidance.

10 questions

0votes1answer36views

ShowModalDialog problem in Bricscad v23 using .net and vs2022

I'm migrating a plugin from Autocad to Bricscad. I'm using .net, vs2022 and Bricscad v23. I have a command with the next code: FrmMyForm frm = new FrmMyForm() { StartPosition = FormStartPosition....

damorcor's user avatar damorcor
  • 3
0votes1answer339views

pyautocad loop through attributes

I have many blocks which have attributes. I'm trying to search through attributes in WEE specific value and when I find it, I would like to change the NDT to some value. Name Att Value Att WEE A011 ...

Hom Tom's user avatar Hom Tom
  • 3
0votes2answers63views

AutoLISP getting a National Grid Reference from a Postcode

I'm looking to make a script in CAD which will return a National Grid Reference from and input Postcode For example User input: AL1 1BY Returns: TL 14584 06989 I've got a CSV from OS "CodePoint - ...

BlvckSZN's user avatar BlvckSZN
  • 15
-1votes2answers103views

How to check if a specific driver is installed using AutoLISP

(My ultimate goal is to verify if a specific database OCDB driver is installed before I run an Autolisp coded connection to a database) I would like to know : How can i check if a driver is installed ...

1LandSurveyor's user avatar 1LandSurveyor
  • 9
0votes1answer109views

What is the most efficient way to validate a SelectImplied against a Filter?

Here is some simple code for asking the user to select some LINE and / or ARC entities: _AcDb.TypedValue[] dxfs = new _AcDb.TypedValue[] { new _AcDb.TypedValue((int)_AcDb.DxfCode.Operator, "&...

Andrew Truckle's user avatar Andrew Truckle
  • 18.1k
0votes1answer80views

Can the Help.ShowHelp API be modified to simply invoke the CHM file?

This is my primary way for displaying help topics from within my WinForm button click handlers: Handler: private void buttonHelp_Click(object sender, EventArgs e) { CutTools.DisplayHelpTopic(...

Andrew Truckle's user avatar Andrew Truckle
  • 18.1k
0votes1answer182views

Where are settings saved wiithin the context of BricsCAD?

My C# DLL project has settings and the defaut values are held automatically in the xxx.dll.cong file. When I perform a save of the settings: Properties.Settings.Default.Save(); They are correctly ...

Andrew Truckle's user avatar Andrew Truckle
  • 18.1k
0votes2answers344views

appload DLL into bricscad works on some PC's but not all, how to debug?

I'm building the C# sample project provided with Bricscad V19 located at Bricsys\BricsCAD V19 en_US\API\dotNet\CsBrxMgd in visual studio 2019. The build is successful & runs correctly when loaded ...

Ben's user avatar Ben
  • 173
1vote2answers540views

Debugging Bricscad plug-in - no code supported by selected debug engine

I am making a plug-in for Bricscad which is basically a dll that is used by the application. This plug-in uses both console commands and WPF windows. When I try to debug it and set breakpoints there ...

Gaxx's user avatar Gaxx
  • 85
0votes1answer1kviews

Adding elements to model space the correct way using .NET API

Method One _AcDb.Line oLine = new _AcDb.Line(ptStart, ptEnd); AddToModelSpace("PLOT", oLine); Where AddToModelSpace is: public static void AddToModelSpace(string strLayer, _AcDb.Entity oEntity) { ...

Andrew Truckle's user avatar Andrew Truckle
  • 18.1k

You Might Also Like