DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Hatch with image file

Started by rbh, September 15, 2010, 07:01:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rbh

Hello
I'm working on DCAD 18 and trying, via automation,
to draw hatch with a file (*.bmp, *.jpg, ...) instead of a patterName.

This seems like a new feature and the OleDC17.hlp didn't help at all.

Is it possible to do it via automation or should I find another way?

DrollTroll

Sorry, I don't think that's been exposed via OLE Automation yet, but I'll double-check. If I find a way, I'll post it here.
25 years with DesignCAD

rbh

You were right it's not possible via OLE.
I have found a way around by :
  writing a macro file,
  DcDoc.RunBasicCAD
  DeleteFile
Thanks anyway.