Skip to content

Commit 395e68a

Browse files
committedFeb 16, 2020
Explicitly move to example's directory
1 parent 3081cfd commit 395e68a

File tree

49 files changed

+211
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+211
-13
lines changed
 

‎CAD/OnshapeTutorial/test.py

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
# Enable multithreading for ccx
66
os.environ['OMP_NUM_THREADS'] = str(multiprocessing.cpu_count())
77

8+
# Explicitly move to example's directory
9+
os.chdir(os.path.dirname(__file__))
10+
11+
# Run the example
812
os.system("cgx -b run.fbd")
913
os.system("cgx -b runVT.fbd")
1014
os.system("cgx -b run1.fbd")

‎CAD/Opt/test.py

+4
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
# Enable multithreading for ccx
66
os.environ['OMP_NUM_THREADS'] = str(multiprocessing.cpu_count())
77

8+
# Explicitly move to example's directory
9+
os.chdir(os.path.dirname(__file__))
10+
11+
# Run the example
812
os.system("cgx -b Run.fbd")

0 commit comments

Comments
 (0)