Create rectangle without loading file
Posted: 10 Feb 2015, 10:54
Hi,
I've come across an issue that I would like to solve.
I can load a .dxf file and then add a solid I created programmatically.
When I only want to load the programmatically created solid (or rectangle or whatever) I can't seem to get it working because the program obviously awaits a LoadedCADImage (like in the sample files).
Now the problem is that FDN.Picture.Graphic is nil because I never used "LoadFromFile('...').
How can I load my own TsgCADImage into the drawing Navigator without preloading a file?
I've come across an issue that I would like to solve.
I can load a .dxf file and then add a solid I created programmatically.
When I only want to load the programmatically created solid (or rectangle or whatever) I can't seem to get it working because the program obviously awaits a LoadedCADImage (like in the sample files).
Now the problem is that FDN.Picture.Graphic is nil because I never used "LoadFromFile('...').
How can I load my own TsgCADImage into the drawing Navigator without preloading a file?