The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (API DevKit) for independent software developers

Moderators: ejrolon, Barry Kelly, Karl Ottenstein, LaszloNagy, gkmethy, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy, rmasaki

By Ido ravid
#308522
Hi,
I recently moved to AC23 from AC21, and I'm trying to reprogram my add-on accordingly. In the previous version, i used the ACAPI_CommndCall to export OBJ files automatically. I rewrote the code in my new Addon, and it does create the OBJ file, but without a material file (.mtl) next to it. If i save obj manually, the . mtl file is created properly.

Hoe can i make my add-on export OBJ files with MTL files, as it used to?

Thanks a lot! :D
Ido