Author: admin

  • Demo: Select (Panel) Lines which are Open or Closed (Precast, AutoCAD .net)

    Demo of tool which selects closed lines.
    Demo of tool which selects closed lines.

    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 connected to each other. It further goes on to query which line segments are closed and which are open.

    Getting AutoCAD to do this quickly was quite a task. But am very pleased with the speed – only 1-2 seconds when you’re iterating through a few thousand lines. Not bad.

    Enough talk, here is the demo:

     

    Select Open and/or Closed Panel Lines from Tek1 on Vimeo.

     

  • How to Easily Compare Precast Panels in AutoCAD (Precast)

    Panel Comparison Demo
    This tool compares panels and imports differences. Yet another reason why Tek1 is leading the world in precast panel drafting.
    Shop drawing / Layout panel discrepancies are a thing of the past.

     

    Suppose someone makes a change in the layout but forgets to do so in the shop drawing (and vice versa). If you move a cast in plate, and if it’s actually produced and taken to site, then you have a big problem, and a big cost. How are you going to identify the differences which exist in the thousands of panels that you make? What if you had a tool which allowed you to easily identify differences between the two drawings?

    This is what this Panel Comparison tool does. It gives you confidence that somebody hasn’t made a boo-boo. And moreover, if somebody has made one, then this tool identifies sloppy shop drawing practices.

    Here is the demo. I hope you enjoy it!

    Gif Demo with User Interface:

    Now we have a user interface which allows us to click on items in a window and access them easily in AutoCAD. Written by Ben Koshy.
    Now we have a user interface which allows us to click on items in a window and access them easily in AutoCAD. Written by Ben Koshy.

    Video Demo without a user interface:

     

    Compare Panels Demo – Import Panel Difference from the Shop Drawing to the Layout from Tek1 on Vimeo.

    Features:

    • It can work for all clients with only very minor modifications. Very well abstracted out in the code.
    • It is super fast. Comparing the thousands of elements in each drawing takes a bit of computing power – but with smart algorithms, you can cut down the time.
    • It works for all sorts of edge cases – what if the panel was made up of arcs, polylines and straight lines – this plugin can handle all sorts of things. It can also handle voids in the panel?
    • What if an item is on the edge of a panel line – it can handle that was well.

    Every single panel that we draw will go through the above practices. It should give you a lot of confidence that we’ll get the drawings right. Yet another tool in the Tek1 arsenal that allows this firm to lead the industry in Precast Panel drafting.

     

  • Demo – Create Revit Panels Directly From AutoCAD Panels (Precast)

    Demonstrates the ability to transform 2D AutoCAD files into a native Revit format.

    This is a demo of my latest plug-in which demonstrates a proof of concept – i.e. a MVP (Minimum Viable Product). The programming was a little trickier than normal – because we are not using the .NET API, but the COM Interop API and the Revit API – something which I have not really explored prior to this post.

    What does it do?

    If you have drawn some panels in AutoCAD, this plugin allows you to quickly and accurately convert those panels into Native Revit walls. You can then give Architects and builders those Revit files –  otherwise it will be very difficult for them to work with AutoCAD files.

    This gives you a competitive advantage over your competition, because you can quickly and easily do it – and it makes the job of architects and builders easier – especially given the rapid push everyone’s making into BIM technologies.

    Enough talk. Here is the demo. Enjoy:

    Create Panel Walls in Revit Directly From AutoCAD – Demo from Tek1 on Vimeo.

    (I’ve made the command so that it works even when you have AutoCAD open. This allows detailers to quickly switch to Revit and AutoCAD and to delete and restart if need be. Also requiring that AutoCAD be open ensure that detailers know exactly what file they are working with and what files they are converting. It eliminates a whole lot of errors.)

  • Comparing Lines – IEqualityComparer (AutoCAD .net)

    It’s not very often that I write something on the Autocad .net API, so here’s something which you, I suppose, will need one day:

     

    If you want to compare two lines, with a tolerance, in a collection then you’d need a LineComparer. The MSDN guide says that one should inherit from EqualityComparer, so unquestioningly, I did their bidding. The results are as below.

    Take careful note of the Hashcode. You want lines that are similar – and are within the tolerance to return the same hashcode. If they are outside the tolerance then the chances of two different lines returning the same hashcode is minimal.

    Lines are equal if their start and ends points are equal (or vice versa). They are also more or less equal if they return the same hash code. In such cases, then the equals method is run.

  • How to Access the Document Handle Given a Database Handle? (AutoCAD .net)

    A short post showing you how to access the Document instance given that you already have a database pointer.

    Here’s how:

  • Modelling Stud Walls (Steel Detailing Tips)

    What is the purpose of this lesson?

    The purpose of this lesson is for you to:

    • understand what a stud wall is, and
    • understand the importance of putting holes in the beams in order to allow for the erection of stud walls.

     What is a stud wall?

    A stud wall is made up of:

    • A frame (in our situation this frame will be a steel frame) and
    • timber members which go in between the steel frame and
    • a covering of 13 mm plaster board to cover the frame. The plaster board covering is not shown in the diagram below.

    In steel stud walls, light steel pressed members or standard steel studs (mostly standard steel studs) are used instead of timber.

    Please view the diagram below.

    Shows what stud and nogging members are.
    Shows what stud and nogging members are.

     

    What is nogging?

    Do you see the horizontal 90 x 45 timber pieces – the short red horizontal timber members? These short timber members are called nogging.

    The nogging members of a stud wall are usually smaller in size than the main vertical members.

    Nogging members run horizontal and give some strength to the wall.

    Inside of the wall is empty space. Insulation material can be put in there.

    Cross pieces are called NOGGING.

    The Key Point of this lesson:

    • It is important that you provide dia 14 holes on the steel beams and columns so that the timber pieces can be bolted to the steel pieces. Imagine you have some steel beams/columns and also some timber. How will the timber columns be attached to the steel columns so that the structure doesn’t move? Holes need to be drilled so that the timber pieces can be bolted to the steel beams. You need to provide holes in the steel so that the timber members can be bolted to the steel.
    • You need to rotate and orientate the beams so that its face runs with the stud wall face.

    A stud wall cannot stand in the wall without some connection.

    Please see the below diagram to show you how things are drawn in the engineering and architectural drawings:

    What the engineer etc typically show. You must not shop draw to this exact design.
    What the engineer etc typically show. You must not shop draw to this exact design.

    Now see below how you will need to detail the above design:

    Shows how you will need to detail the design. Rotate the columns and also add bolt holes in the right places.
    Shows how you will need to detail the design. Rotate the columns and also add bolt holes in the right places.

    See here as well:

    Showing the changes - clouded.
    Showing the changes – clouded.

    And a section view:

    Shows a section view of the steel column and the stud.

    Shows a section view of the steel column and the stud.

    I hope this helps.

  • The Curious Case of Overkill Not Working (AutoCAD)

    A very perplexing question:

    Why isn’t overkill working?

    The result will stun you.

    Overkill was not working
    Overkill command was not working on these panel voids. Why do you think this is the case?

    As you can see in the above picture, the top row of panel voids were doubled and in some cases tripled up. Obviously we don’t want this. Ordinarily, when such drawings are passed on to us we employ the overkill command. But for some reason it wasn’t working. And I couldn’t for the life of me figure it out.

    That was until our lead Bubble Deck detailer suggested that the insertion points of the block references were not all on the same plane – some of them were in the Z plan – if that’s the case, then overkill would not recognise them as being the same block – and will allow them to continue to co-exist in the same drawing.

    Solution:

    Check that all similar items have similar insertion points. If they’re different – that’s why overkill might not be working for you.

  • Turning AutoCAD curves into Revision Clouds (AutoCAD .net API)

    Revision Cloud
    Showing a sample revision cloud created in AutoCAD from the .net API.

    It seems a common scenario that folks want certain polylines/curves etc to turn into a revision cloud.

    How do we do this?

    At the end of the day, the revision cloud is nothing but a polyline. You could roll your own polyline which handles the bulges and vertices so that it looks like a revision cloud – but that takes a lot of effort – the quick and dirty way of doing so involves creating the polyline programmatically and then calling an AutoCAD command on that Polyline.

    There are a few ways you can call commands:

    1. Using SendStringToExecute
    2. Using Editor.Command();

    I prefer the latter, because it is more flexible. SendStringToExecute operates after the command is completed – which may not suit your needs.

    Here is a simple implementation – It should convert the circle into a RevisionCloud circle. Of course, you can tweak it to your own needs.

  • How to avoid trouble in Building and Construction Projects (Part III)

    HOW TO AVOID TROUBLE IN BUILDING AND CONSTRUCTION PROJECTS (PART III)

    We continue our series on how to avoid trouble in building and construction projects.

    • The Importance of a Good Project Manager and a knowledgeable team

     This  example draws from a recent experience. And it also draws from famous instances of projects stuffing up. I can’t emphasize this enough: a good project manager – one who competent – is worth their weight in gold.

    Good project managers:

    1. Constantly check work

    People design and fabricate according to the plans and drawings set out in the engineering and architectural drawings. More often than not – these details are often missing. A good project manager would be aware or should be aware of:

    • Any missing information that is critical.
    • How things should be constructed and in what order.
    • The consequences and costs of mistakes.
    • And most importantly: he should handle/structure the flow of money to ensure that suppliers are paid promptly, and when (and only when) they deliver good work.

     Examples

    For example, a good project manager would know that laying down the foundations of a building is critical to its success and structural integrity. So Joe Bloggs – the guy pouring the concrete comes along. He dumps some concrete here and there, and says, “Yup – I’ve done my job!” The project manager glances out of his window and sees some concrete and concurs:

    “Here’s $15m dollars for your efforts my good man!”

    The concreter snatches the cheque from Mr Project Manager with glee and prompts scampers out of the site office into the neighbouring pub.

    Meanwhile, other trades come on site: one particular trade has to erect some steel columns. When they try to do so, they realise that the concrete has been badly poured – that it hasn’t been poured according to the agreed upon dimensions and tolerances – the steel beams and columns they purchased and cut and welded – it now doesn’t fit. None of it. It’s all useless.

    Who carries the can?

    Notice very carefully what happened, and how it happened:

    1. The project manager stuffs up.
    2. The concreter gets paid.
    3. The trades consequently building upon the work of previous trades are held up: the steel doesn’t fit because of the concreter. Consequently, the steel fabricator doesn’t get paid. They can’t erect. And moreover, they are forced to lug the steel back to the workshop – to make the appropriate cuts/welds and to then re-haul it back on site. When you have 5 contractors on the clock, working for that trade, things get expensive really quickly. Also, consequential trades that depend on the fabricator are also affected. If those trades don’t get paid, then they might be forced to take on other work – they might relegate the current project to the bottom of the pile. Moreover, if they are concerned about the fabricator’s liquidity, or solvency – then all bets are off. If the fabricator doesn’t get paid, then he won’t be able to pay his detailer. And if the detailer doesn’t get paid, then he’ll be forced to take on other work. Simply put, the entire project can slowly grind to a halt.

    What should the project manager have done? He should: check!

    1. He should know what the correctly set out concrete should look like.
    2. He should check that the concrete will be poured correctly before it is poured. You do this by checking the concreter’s lines and guides.
    3. He should check that the concrete is currently poured after the work has been done.
    4. He should structure payments to the trades after verifying that everything is done properly.

     Maintains Good Lines of Communication between Relevant Parties 

    1. If something does go wrong then the project manager ought to communicate this information to the relevant parties only. You don’t want to see 20-50 emails each with zip files of some 5-10 drawings every single day – especially if the contents of those emails have nothing to do with your trade. Granted – it has been sent to you, so you are obliged to check whether it impacts your work or not. And if the changes in the drawings are not marked (as they are wont to do) then you need to dig up the previous revision of that drawing and check. Do that over a month for a couple of hundred drawings and it gets really old, really fast. Add up the time and it all becomes significant. Bad project managers email blast everyone and cost all parties a lot of time and money. Good managers communicate only the relevant information to the relevant parties.
    2. It’s no good sending people 50 emails a day and then burying one very important email in that haystack. A good manager will call up the relevant parties and tell them important and critical pieces of information/warnings to ensure that they are not overlooked, “friend, the walls are gonna come a-tumblin’ down if…”
    3. A good project manager communicates information in a timely manner. A recent project manager in our recent experience: (i) didn’t warn consequential trades that changes had been made. That’s a huge problem – especially if those trades begin fabricating structures that will do not fit – due to some changes which were not communicated. 
    1. A good project manager: Knows who’s skilled

    They know who to call. They can get the job done quickly, and effectively. A bad project manner will hire any Dick off the street without verifying their credentials and expertise. Of course, who suffers if that particular trade fails to deliver?

    1. A good project manager: Isn’t cheap

    They know how valuable they are. And they charge. But ‘cheap’ is a relative term. These managers might be expensive, but they’ll probably be a whole lot cheaper than a poorly designed/built building.

    My friend, if you have a good architect, and a good engineer and also a project manager who is also an accountant, then you are in a much more favourable position to successfully prosecute your building and construction project.