Can you use PiXYZ at runtime to convert CAD files to Unity meshes? in my project i need the user to be able to load CAD files from their device or from a server location and would like to know if this plugin will allow me to do this.
2 Answers
2Yes we can import CAD model at runtime. I have tested it works 100%.
It keeps bringing the same errors 'MovingScript.MyController' does not contain a definition for 'Player' 'MovingScript.MyController' does not contain a definition for 'Enable' 'MovingScript.MyController' does not contain a definition for 'Disable'
As of 27 July 2020
According to the documentation, pixyz can import only PXZ format at runtime and only on Windows Standalone x64.
There is also this mention in documentation of a more convoluted way to do this, which will probably(not sure) avoid the issue with platform limitation. I don’t really know how viable it is though.
Ahhh are you making this change in the MovingScript file? If so, you need to make it in the MyController file instead! The line public MyController controls; is fine as it is, it's the MyController class that needs changing. Put that little "[Serializable]" attribute at the top of the class IN the MyController file and make sure MovingScript is back to normal :)
What is it currently? If it's a struct then keep it one :) [Serializable] public struct MyController If that has issues, post your MyController with your reply
– jackmw94