PiXYZ at runtime? Can you load cad files at runtime?

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.

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

–

2 Answers

2

Yes 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'

–

Maybe i can attach it

–

[174089-mycontroller.txt|174089]

–

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.

When i try to put my script it says: 3000 characters exceeded

–

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 :)

–