Thanks Bugra.
The information you have provided has been most helpful.
Thanks again.
Thanks Bugra.
The information you have provided has been most helpful.
Thanks again.
Thanks Bugra.
Ohh, The CRT.
You said
"To make this work, we would need to expose a C interface
(as we did with the new API). But that causes very verbose code,
especially when dealing with strings."
Ok, I assume I can write my exporter using the 'C' portion
of the Sdk.
To be clear then (If you could kindly verify):
1.) I cannot write a 'C' exporter that will appear within Sketchup
as a plugin (i.e appear within the Sketchup Export menu). I will need to write
it as a stand alone application and have the user manually select the Sketchup file
for export.
2.) The Sdk has a director: C:\Source\Sketchup2013\Sdk\SketchUp-SDK-Win\binaries\x64
which contains a slaip.dll and .lib. I assume these are valid for x64?
3.) I am not able to write any sort of Sketchup 'plugin' with the C Sdk (Like
the ones available via the Sketchup Extension Warehouse. These are all Ruby based).
Thanks again for your time.
Thanks Bugra.
Not to start an argument, I am just curious.
I am a native C++ Win32,Com,WinRt programmer.
My forte is defiantly not frameworks (Mfc, Stl, Parallel Process Library,...).
Needless to say I am not a Ruby programmer.
I have some down time right now so I thought I would plunk around
with the Sketchup Sdk (This is not for a client, It is personal).
With that said why exactly is it that I need to compile the skp2xml
sample with 2010? What could possibly be different with the 'C++ Interface'
( I am assuming you are referencing the SketchUpModelExporterInterface struct)?
Is it packing?
Is it the calling convention on the SketchUpModelExporterInterface member functions?
Thanks.
Hello.
I have Sketchup 2013.
I have the Sketchup 2013 C++ SDK.
I have VS 2008 On a Windows 7 Machine and VS 2012 On A Windows 8 machine
(No VS 2010).
I was under the impression that I could build the skp2xml.dll sample and
drop it into the 'Exporter' directory. I then thought that Sketchup would
then list 'XML Exporter (*.xml)' on the File->Export menu.
I have build the skp2xml.dll in both debug and release (Win32) modes.
Windows 8: Sketchup crashes when I click on the 'File' menu (With an object).
Windows 7: Sketchup does not crash but does not display the expected
'XML Exporter (*.xml)' on the File->Export menu.
I believe that the sample is for VS 2010. I cannot open it with VS 2008.
VS 2012 'Converted' it for me. What am I missing? Compiler/Linker options?
Thanks for any help.