Using the latest chrono-solidworks plugin, it appears to be incompatible with the current version of Chrono on the development branch. Version 2.0.8 was last updated in Dec 2016, and doesn't work with Chrono infrastructure changes made in around ~Mar 2017. The issues are easily resolved by simple edits of the generated python, but must be applied every time we use the solidworks plugin. Listed below:
Issue #1)
import ChronoEngine_PYHON_core as chrono ->
import ChronoEngine_python_core as chrono
Issue #2)
chrono.ChBodyAuxRefShared() ->
chrono.ChBodyAuxRef()
Issue #3)
body_0.SetBodyFixed(1) ->
body_0.SetBodyFixed(True)
Issue #4)
ChObjShapeFileShared ->
ChObjShapeFile
Issue #5)
chrono.ChAssetLevelShared ->
chrono.ChAssetLevel
Issue #6)
chrono.
ChLinkMateXdistanceShared ->
chrono.ChLinkMateXdistance
Issue #7)
chrono.
ChLinkMateParallelShared ->
chrono.ChLinkMateParallel
Issue #8)
chrono.
ChLinkMateGenericShared->
chrono.ChLinkMateGeneric
Issue #9)
link_1.Initialize(body_6,body_
2,0,cA,cB,dB) ->
link_1.Initialize(body_6,body_2,False,cA,cB,dB)
Issue #10)
link_2.SetFlipped(1) ->
link_2.SetFlipped(True)
Issue #11)
link_12.SetConstrainedCoords(
0, 1, 1, 0, 0, 0) -->
link_12.SetConstrainedCoords(False, True, True, False, False, False)