Jump to content
Developer Wiki and Function Reference Links Read more... ×
Andrey_E

Exporter questions

Recommended Posts

I am writing an exporter to a custom format. This format is a list of triangle meshes.

So I need to represent all scene 3D objects as meshes.

What is the way to convert an object to a mesh? I look in file ISDK.h but cannot find such a function. But actually, such functionality is present: there is a menu command that converts objects to meshes: "Convert to Mesh".

How to call functions on which it is based?

Or maybe it is possible to call this command from C++? How to call a command if I know its name?

Or maybe there is sample code of an exporter to any other thimesh format? For example STL or 3DS?

Or maybe I am doing this all wrong and there is a totally different way to create exporter?

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×