DFDeconstructAssembly component

Contents

_images/icon11.png

DFDeconstructAssembly component#

Deconstruct the DFAssembly into a set of df_beams objects.

Inputs:

i_assembly (ghdoc ,item)

The DFAssembly object to deconstruct.

Outputs:

o_beams

The set of beams contained by this DFAssembly object.

Code:

#! python3



from ghpythonlib.componentbase import executingcomponent as component



class DFDeconstructAssembly(component):
    def RunScript(self,
            i_assembly):
        o_beams = i_assembly.beams
        return o_beams