Category: Autocad .Net API
-
Changing All Block Definitions (AutoCAD .net API)
(Unfortunately it’s not a block table record dictionary definition – but it kind of is :)) Some how or other all the block definitions associated with a drawing were not defined on layer zero – this is less than ideal. I guess it goes right up there with another instance I heard about: (i) about…
-
Checking for Panels with Nibs – Precast Detailing (+ Video Demo inside)
A gif showing how easy it is to check for nibs on bubble deck slabs using my command. There are certain panels which we have that have protruding elements – salient features. These can be problematic if they go to production unnoticed. Given there are entire teams of people doing things, it can be hard…
-
Ferrule Comparison – How to check for clashes in the starter bars for two adjacent panels (Demo Video)
What is the problem? Consider this situation – you’re got a marking plan in front of you. You want to make sure that the ferrules in corner panels do not clash. How are you going to do that? How would you solve the problem? You’d have to find the corner panels, and then go…
-
Where did the AutoCAD File Dialog User Interface Go – How to Return it back to normal after using AcCoreConsole? (AutoCAD)
What Happened? No Dialog Box UI in AutoCAD? So I’ve just managed to run AcCoreConsole – some script. And it’s changed some settings. And now when I open regular AutoCAD, when I type in netload – it seems that I’ve lost the ability to open/select things using the user interface. Now I have to manually…
-
How to load lisp files in AcCoreConsole (AutoCAD .net)
A commenter had some trouble loading the files. So perhaps the AcCoreConsole is confusing people. So here is a post which will hopefully clarify how to do it. It’s quite simple: Have the LISP file ready. Load the lisp file Call the command. It works exactly the same as in AutoCAD – the UI version.…
-
Returning Inside Using Statements (AutoCAD .net API)
While writing the above AutoCAD plug-in, I faced a small conundrum in the below code: The question for you is: will the transaction be disposed of, and committed given I have returned the bool before it reaches the end of the using statement? Will it be disposed? The short answer is yes. The transaction…
-
Finding Blocks “Colliding” with Shear Lig Points (AutoCAD .net, Precast – Bubble Deck)
It’s a common problem apparently. There are far too many block references placed a little too close to those pesky shear lig points. It takes discipline, but when you have 5-10 people all working on the same drawing, with different practices, it’s something that’s really easy to miss, but really expensive to discover. So I…
-
How Tek1 solves the problem of Ordering Items in Precast Panel Detailing Projects (Precast)
Counting Items is difficult Ordering parts in precast panel projects is tricky. You need a BOM (Bill of Materials). You need to know what you need and how much. When there are thousands upon thousands of parts – that can be a very tricky endeavour. Why should you bother counting inventory? It all comes down…
-
Demo: Select (Panel) Lines which are Open or Closed (Precast, AutoCAD .net)
Sometimes we have a need to identify – and quickly – lines which are open and lines which are closed – especially prior to running any operations on those lines involving regions. Here is a demo of a little plugin I wrote. It goes through the modelspace and finds all the line segments which are…