2014-02-21
02:49 AM
- last edited on
2023-08-01
04:30 PM
by
Doreena Deng
2014-02-24 10:00 AM
hoangvnn wrote:
1. How can we add a type in the Save as... function (just like .aaa file). Is the API support?
/**
* Interface definitions.
*
* @return ArchiCAD error code.
*/
GSErrCode __ACENV_CALL RegisterInterface (void)
{
GSErrCode err = NoError;
err = ACAPI_Register_FileType (1, 'TEXT', 'GSAC', "aaa", 0, ID_ResourceStrTable, IDS_ResourceFileTypeText, SaveAs2DSupported + SaveAs3DSupported);
return err;
} // RegisterInterface () 2. How can we get all the objects info of the current files so I can use my function to convert them to my XML format? How can we do this with API.
2014-02-25 12:17 AM