Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This Gist contains code snippets related to conversion 3DS file to DXF conversion using Aspose.3D Cloud SDK for Java
This Gist contains code snippets related to conversion 3DS file to DXF conversion using Aspose.3D Cloud SDK for Java
// Get clientId and clientSecret from https://dashboard.aspose.cloud/
String clientId = "718e4235-8866-4ebe-bff4-f5a14a4b6466";
String clientSecret = "388e864b819d8b067a8b1cb625a2ea8e";
// create an instance of Aspose.3D cloud
ThreeDCloudApi threeDCloudApi = new ThreeDCloudApi("client_credentials", clientId, clientSecret);
// name of input 3DWS file
String name = "Esso.3ds";
// output format detailis
String newformat = "amf";
// name of resultant file
String newFileName = "Esso.amf";
// if no information for storage is specified, default storage is used
String storage1 = null;
// initialize the conversion operation
File response = threeDCloudApi.postConvertByFormat(name, newformat, newFileName, null, true, storage1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment