Skip to content

Commit 4b9fbe9

Browse files
MingboPengmostaphaRoudsari
authored andcommitted
feat(sim_par): add handlers for SimulationParameter in Rhino
1 parent 6f69912 commit 4b9fbe9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pollination/alias/inputs/simulation.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@
1717
language='python',
1818
module='pollination_handlers.inputs.simulation',
1919
function='energy_sim_par_to_json'
20+
),
21+
IOAliasHandler(
22+
language='csharp', module='Pollination.RhinoHandlers',
23+
function='HBSimulationParameterToJSON'
24+
)
25+
]
26+
),
27+
# Rhino alias
28+
InputAlias.linked(
29+
name='sim_par',
30+
description='This input links to SimulationParameter setting in Rhino.',
31+
platform=['rhino'],
32+
handler=[
33+
IOAliasHandler(
34+
language='csharp', module='Pollination.RhinoHandlers',
35+
function='RhinoSimulationParameterToJSON'
2036
)
2137
]
2238
)

0 commit comments

Comments
 (0)