links: https://www.microsoft.com/en-us/download/details.aspx?id=25150
https://adedownload.adobe.com/pub/adobe/digitaleditions/ADE_2.0_Installer.exe
Post build plugin in visual studio.
Watch out - change the version ID to suit your Tekla version!
set envDir=2022.0\Environments\common\extensions\TestWPFBeamPlugin
set pluginsDir=2022.0\nt\bin\plugins\TestWPFBeamPlugin
set tsDirA=D:\Program Files\Tekla Structures\
#!/bin/bash
echo 1 > /proc/sys/net/ipv4/ip_forward # must be enabled for the forwarding to work
iptables -F
iptables -t nat -F # flush the nat table
iptables -t mangle -F
iptables -X
The Tekla API is not very open - one of my peeves is that you cannot access a drawing's revision number, because it is not exposed. Not to worry, you can access it with a hack:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
This is a console application.
You will need to install the approriate dlls from Tekla. This can now be down via a Nuget package:
We want to select a single object in the model using a picker. Here is some sample code. You can of course, configure this to select model objects if you wish.
using System;
using System.Collections.Generic;
<div class="input-group"
data-pagy="WyJjb21ibyIsIjxhIGhyZWY9XCIvZm91bmRhdGlvbj9wYWdlPV9fcGFneV9wYWdlX18mYW1wO2l0ZW1zPTIwXCIgICBzdHlsZT1cImRpc3BsYXk6IG5vbmU7XCI+PC9hPiJd">
<a style="margin-bottom: 0"
class="prev button primary disabled"
- href="#">‹ Prev</a><span class="input-group-label"><label>Page <input
- class="input-group-field cell shrink"
- type="number"
- min="1"
- max="50"
Location of AutoCAD ObjetARX dlls:
C:\Autodesk\ObjectARX_for_AutoCAD_2022_Win_64bit_dlm\inc\AcMgd.dll
Ensure you ahve the following in the workflow you want to test:
on:
workflow_dispatch:
push:
Runn it with:
module QuotesHelper
# overrriding this
# => wrong number of arguments (given 3, expected 2)
def pagy_url_for(pagy, page)
page
end
end