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

#308543
Hi,I wrote a model import plugin, and now I want to generate a preview image in the dialog box when reading the external model geometry data。I found that the Graphix module can implement it, but there is no help document or demo example, has anyone used this module?
#308574
Documentation is very thin for this - we had to experiment for quite a while to get what we wanted, but it works well. Start by looking at the documentation for NativeImage first.

The example code is the most helpful. There are examples in DG_Test in the functions DrawMyPict and OwnerDrawnListBoxPalette::UpdateTab1. Also possibly UserItemDialog.cpp in the example Override_Test.