Author: admin

  • Anchor Bolt Template

    Keep Template rectangular even when anchor bolts are on a circular Pitch

    Keep clearance between anchor bolt and template hole to a maximum of 1 mm.

    Add corner cut. letter N and Top on the Template

    Download cad files from here

  • Get the client schedule

    On all projects going forward, we need to know the client’s intended schedule per type of product:

    For each type of “product” e.g. Stair 7 – we need to know:

    • Date of installation
    • Date of fabrication
    • Date of ordering material
    • Date of IFC drawings
    • Date of IFA drawings.

    And then we must work backwards to provide them with this.

    For every job, from now on, new or otherwise, we need to know this information.

    I’ve heard this from clients before: they are complaining about things getting delayed. Most of the time, they are delayed because they do not pay on time – but sometimes, there is some legitimacy to their claim.

    This must be implemented on this basis until we formulate or make it integral to the quote app.

  • Setting Precast Covers

    Pick up UDA covers in Drawing Template

    For precast panels set Covers in Local to pick up in template

  • Bridging for Curved Roof

    Will Hook Lok Work

    Short answer – No.

    What are the options

    • Bolted ends with S Channel
    • Bolted ends with Tapered Washers

    Bolted Ends with Swivelling brackets

    Will need 2 bolts on each end. To stabilize, will need 2 tek scres on each bracket holding it to s channel

    P Type with tapered washer.

    Again bolted edge because with tapered washer the hooks will not go over the purlin. Hence tapered washer and bolted ends, or spacer washers to make up with bolted ends.

  • Tekla Open API – Setting the Workplane to an Arbitrary Coordinate System

    Arbitrary Work Plane is set.

    Review the above image. You will note that the work plane is set well above the global coordinate system.

    Our job will be to reset the work plane, to match the global coordinate system.

    How can we do this?

    Full code is also on Github:

     [Test]
    public void failsToChangeWorkPlane()
    {
    // approach 1.
    // set working plane to something crazy.
    Model model = new Model();
    WorkPlaneHandler workPlaneHandler = model.GetWorkPlaneHandler();
    CoordinateSystem world = new CoordinateSystem(new Point(0, 0, 0), new Vector(1, 0, 0), new Vector(0, 1, 0));
    TransformationPlane transformationPlane = new TransformationPlane(new Point(0,0,0), new Vector(1,0,0), new Vector(0,1,0));
    workPlaneHandler.SetCurrentTransformationPlane(transformationPlane); // transformation plane uses coordinateSystem
    ViewHandler.RedrawWorkplane();
    }


    [Test]
    public void failsToChangeWorkPlane2()
    {
    // approach 1.
    // set working plane to something crazy.
    Model model = new Model();
    WorkPlaneHandler workPlaneHandler = model.GetWorkPlaneHandler();

    CoordinateSystem world = new CoordinateSystem(new Point(0, 0, 0), new Vector(1, 0, 0), new Vector(0, 1, 0));
    Matrix matrix = MatrixFactory.ToCoordinateSystem(world); // doesn't work either.

    Point newOrigin = new Point(0, 0, 0).Transform(matrix);
    Vector newX = new Vector(1, 0, 0).Transform(matrix);
    Vector newY = new Vector(0, 1, 0).Transform(matrix);

    TransformationPlane transformationPlane = new TransformationPlane(newOrigin, newX, newY);
    workPlaneHandler.SetCurrentTransformationPlane(transformationPlane); // transformation plane uses coordinateSystem
    ViewHandler.RedrawWorkplane(); // fails as well
    }

    Can you guess what will happen here?

    It will not work. The working plane does not change. Isn’t it curious. What a lovely API.

    Essentially you are not changing the work plane.

    I have spent probably an hour trying to find out where this critical thing is failing.

    It’s a good thing that the documentation is so clear! (It’s not).

    Here is the code that is winning:

                Model model = new Model();
    WorkPlaneHandler workPlaneHandler = model.GetWorkPlaneHandler();
    CoordinateSystem world = new CoordinateSystem(new Point(0, 0, 0), new Vector(1, 0, 0), new Vector(0, 1, 0));
    workPlaneHandler.SetCurrentTransformationPlaneViaWCSInputs(world); // this works.
    ViewHandler.RedrawWorkplane();

    Go to: https://github.com/benkoshy/Tekla.ExtensionMethods for all the methods.

    Checkout Tek1’s blog posts for more content on the Tekla Open API. https://www.tek1.com.au/category/tekla-api/

    If you need to hire us to do your Tekla API work, please send us your proposal to [email protected]

  • Tekla Open API – Getting the Attribute File of a Custom Component

    Tekla Open API – Getting the Attribute File of a Custom Component

    I have genericised the following snippet – but you may just as easily simplify it to get the file that you want. The attributes folder contains all sorts of files – so it is best you refine / simplify as much as possible. The following snippet should help you get started:

    Reference Links:

    https://gist.github.com/benkoshy/5c9915b9d044c255253d765824024c3d

    Checkout Tek1’s blog posts for more content on the Tekla Open API. https://www.tek1.com.au/category/tekla-api/

    If you need to hire us to do your Tekla API work, please send us your proposal to [email protected]

  • How to identify the WCS (World Coordinate System) vs the UCS (User Coordinate System) in Tekla?

    Pop-quiz: how do you identify the local coordinate system vs the world coordinate system?

    The answer is below:

    Green box denotes the WCS. The UCS is denoted in two places. The UCS is the “work plane”.

  • Create a Precast Wall Panel – Using Tekla’s Open API

    Create a Precast Wall Panel – Using Tekla’s Open API

    If you are inserting panels via the Tekla API, you need to be aware or have an understanding of the panel’s local coordinate system.

    The x-axis denotes the vector from the start to end point.

    This may be in stark contrast to a beam’s local coordinate system (or at least according to your intuition).

    The Y axis represents the height of the beam. Or in the case, the height of the panel. Also note where the coordinate system’s origin is – in the case, it starts halfway up the panel’s height.

    This is what you’ll get.

    Try the following code sample:

    Reference Links:

    https://gist.github.com/benkoshy/3ca6f46564d348685097f1196767f86a

    Checkout Tek1’s blog posts for more content on the Tekla Open API. https://www.tek1.com.au/category/tekla-api/

    If you need to hire us to do your Tekla API work, please send us your proposal to [email protected]