Author: admin
-
Autocad Plug-in: Creating Order Forms Automatically
Normally creating order forms are a nightmare. How does everyone else create order forms? I have no idea how people do it. They would have to manually count/iterate through every single block which exists in the model space and simultaneously note down the parts’ associated panel number(s). They could do it on their PC, or…
-
WPF Tunnelling – Explanation by analogy
Tunnelling – What is it? And no, I’m not referring to how El Chapo escaped. Refresher: what is bubbling? In the last post we talked about “bubbling”. It’s kinda like those instances where you get a parking fine. If you don’t deal with it then, you’ll get another fine. If you don’t deal with…
-
What is a routed event?
What is a routed event? This is the answer that is typical on Stack Overflow sites and other such forums: A routed event is a type of event that can invoke handlers on multiple listeners in an element tree, rather than just on the object that raised the event. It seems – with all due…
-
What is an event?
Assumed knowledge: Assume you know what a method is. What is an event? Let’s keep it simple. An event is anything which “happens”. “Oh great! That helps a lot :’( ,“ I hear you say. Examples are in order: The President comes to town. He could come at anytime. You don’t know when he…
-
What is a call-back function?
Example by Parable and Analogy I have a secretary. At the end of the day, I ask her to: (i) take the firm’s outgoing mail and to drop it off at the post office, and in addition to that, after she has dropped the mail off, I ask her to do something else: (ii) whatever…
-
What is an ObservableCollection?
For those wanting a simple answer without the geek-speak, I’ll try to explain: Normal Collections Every now and then I go to NYC and my friend asks me to buy stuff for him. So I take a shopping list with me. The list has a lot of things on there like: Hugo Boss jacket Clive…
-
The difference between Synchronous and Asynchronous Execution
Synchronous Execution My boss is a busy man. He tells me to write the code. I tell him: Fine. I get started and he’s watching me like a vulture, standing behind me, off my shoulder. I’m like “Dude, WTF: why don’t you go and do something while I finish this?” he’s like: “No, I”m waiting…
-
Getting a Selection Set
This is a code block from my award winning BlockUtility static class.. But you would want to create the selectionFilter according to your own requirements – hence I have not used a static class for getting the selection filter. Apologies for the lack of readability in my code. The blog just kills the formatting. What…
-
Showing an Assembly in the Model via a Tekla Drawing (Part I) – Tekla Open API Plugin
I’ve created another Tekla plug in. And I’m calling it using a macro. What does this plug in do? Here is a demo: Basically it display an assembly in the model, from a given assembly drawing. Does that make sense? Well if not let’s elaborate: The Problem: I’m sure you’ll be having similar issues. So…