How to use Advance Steel nodes in Python script

Is there a way to use Advance Steel nodes in a Python script?
What do I need to import / add reference in order to use the StraightBeam.ByStartPointEndPoint node in a Python script, for example?

Hi! Here is a python code that creates a steel beam:

import sys
import clr

clr.AddReference(“AdvanceSteelNodes”)
from AdvanceSteel.Nodes.Beams import *

beam = StraightBeam.ByStartPointEndPoint(IN[0], IN[1], IN[2])

OUT = [beam]

4 Likes