Author: admin
-
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.…
-
How to Get Parallel Grid Line Points (Tekla Open API)
What is the task at hand? So I get some phone calls the other day – people complaining. They want changes. Yet again! Why can’t these people make up their minds! That means I have to get off Facebook, go back to my code – which I hopefully haven’t forgotten, and I have to…
-
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…
-
Copying From Object To Object – Tekla Open API (Code Snippets + Video)
What is the task at hand? We want to make the Copy Object To Object command more efficient There is a nifty little command – little oft used in Tekla. The “Copy Object To Object” command. It’s handy, but it could be made better: all the model objects have to be selected individually. That can…
-
Dimensioning Bolts in a Tekla Drawing – Tekla Open API – (Demo + Code snippets)
We want to create a little drawing plug-in What we want to do is to select and dimension all the bolts to a particular grid line. Here’s how it should work: * The user selects a group of bolts. * The user selects a gridline. * Dimensions are drawn from the Bolts to the Gridline.…
-
How to programmatically insert Reference Models into Tekla (Tekla Open API)
Wouldn’t it be handy if we could programmatically insert reference models into Tekla? Well you can now do so quite easily. Here is the code which does the hard work. (You will of course add the appropriate references and directives): And if you want to see a video demonstration, here it is: Inserting XRefs into…
-
Bubble Deck Panel Outline – Fire Collar Clash Check (Precast – Bubble Deck)
We’ve been noticing an increasing problem in that certain items are clashing with BubbleDeck Panel outlines. In order to eliminate these types of errors we’ve instituted a new check in our procedures. Everyone is now required to specifically check for this type of situation. This adds to our check list which is already quite long.…
-
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…