CAD/CAM discussion forum > CAD > fail to load linetypes by VBA (solved)

fail to load linetypes by VBA (solved)

    
  Subscribe Topic

Rank: 1

westabra3914

Newbie

posts: 7

Registered: 2013-6-6

Message 1 of 4

 fail to load linetypes by VBA (solved)
23-10-2013 12:38 . pm   |   View his/her posts only
Dear all!
How load linetype in ZWCad
Method:
ThisDrawing.Linetypes.Load "CONTINUOUS", "acad.lin"do not properly

Rank: 1

westabra3914

Newbie

posts: 7

Registered: 2013-6-6

Message 2 of 4

25-10-2013 03:03 . pm   |   View his/her posts only
Okey
Method:
ThisDrawing.Linetypes.Load "user_line", "ZWCADiso.lin" run refectly, if loading simple linetype, but if linetype consist of user font reference appear errors. example:
*border_map,border_map___ . ___ . ___ .
A,5.0,-0.75,[CIRC1,ltypeshp.shx,x=0.0,s=0.07],-0.75
if I loading this linetype from standart application method all okey, but if I load from code appear mistake!

Rank: 1

westabra3914

Newbie

posts: 7

Registered: 2013-6-6

Message 3 of 4

28-10-2013 01:56 . pm   |   View his/her posts only
Hi , unfortunatly Yours code is not open in my ZWCAD VBA editor. Appear message "error loading DLL", may by conflict with another language version. Load_LineType_Replay.rar (6.72 KB)

Rank: 1

westabra3914

Newbie

posts: 7

Registered: 2013-6-6

Message 4 of 4

28-10-2013 02:57 . pm   |   View his/her posts only
Reply 6# Jenny_ZWCAD
Thanks Jenny. I try this.Westabra{:3_41:}
See also
X