Shubhankar,

ChColorAsset was obsoleted when the Chrono visualization system was redesigned. 
See 
https://github.com/projectchrono/chrono/blob/main/CHANGELOG.md#changed-redesigned-run-time-visualization-system

You will need to update your Python script to adopt the new API. Consult the 
various demos 
(https://github.com/projectchrono/chrono/tree/main/src/demos/python) to see how 
your code must be changed.

--Radu

From: [email protected] <[email protected]> On Behalf 
Of Shubhankar Kulkarni
Sent: Sunday, August 28, 2022 8:20 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] module 'pychrono' has no attribute 'ChColorAsset'

Hello,
I'm trying to run a python script which uses pychrono on Windows 64x platform. 
I have installed and built the chrono::pychrono module manually from source 
using main branch (commit 4346f91b94a5f2a51583f05aa378bbc41e88f32f [4346f91]).

However, when I'm trying to run my script, it gives the error mentioned in the 
subject. For doing sanity check, I checked if the pychrono was working by 
manually writing commands in the cmd prompt after entering python command. I 
created a
 my_vect1   = chrono.ChVectorD() object and populated it and it seems fine. So 
why does it give it specifically for ChColorAsset ?

I'm attaching my chrono module configuration. PFA.

Thanks,
Shubhankar
--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/1ca2c4df-609c-4115-a7a0-8a77c08e7abfn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/1ca2c4df-609c-4115-a7a0-8a77c08e7abfn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/SA1PR06MB82264E609517FA8A6A2D8D89A7779%40SA1PR06MB8226.namprd06.prod.outlook.com.

Reply via email to