Checking the Transportability of Precast Panels – Using the AutoCAD .net API
Checking the Transportability of Panels – Using the AutoCAD .net API It is one thing to build a panel. It is another to ensure that: It can be lifted, and It can be transported to the site. Here is a video demo explaining everything: Can a precast panel be safely transported? from Tek1 on Vimeo. […]
On Line Equality (AutoCAD .net API)
A Poor Man’s Line Jig (well, there’s actually no jigging here) – (AutoCAD .net API)
I wanted to implement a jig for drawing a Line – but strictly speaking I didn’t want the line itself – I wanted its two points, yet I wanted all the features that come with jigging: snaps, polar tracking, and a nice line leading from the base point to the cursor, which shows […]
Steps to Mastery of the API (AutoCAD .net API)
I’ve compiled a list. There’s actually quite a bit involved. I don’t think you can get away with simply not knowing anything about unamanged ObjectARX world. Here is the list below – which I will update. If you see any notable topics which I have missed, please feel free to add a note and I […]
Finding the Point on a Curve Which is the Closest Point to Another Curve? (AutoCAD .net API)
The Genesis of this problem This is a tricky little problem and I could not find a solution on the forums. So I resolved, upon discovering the solution, to oblige posterity and the public, to publish my findings. Specific Notes about this problem Now the following code has been generalised to the specific case of […]
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 […]
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 […]