Skip to content

Commit 3554623

Browse files
committed
docs: tweak one example from the batches where the classic API is used, just in case someone copies it to use in other contexts.
1 parent edf75c2 commit 3554623

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/examples/Batches.ipynb

+1
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,7 @@
621621
"source": [
622622
"%%timeit\n",
623623
"power_spec_classic_prop = np.zeros(dss.ActiveCircuit.Loads.Count, dtype=complex)\n",
624+
"dss.ActiveCircuit.SetActiveClass('Load')\n",
624625
"idx = dss.ActiveCircuit.Loads.First\n",
625626
"while idx != 0:\n",
626627
" dss.Text.Command = '? kW'\n",

0 commit comments

Comments
 (0)