Conversion OLE object to STATIC type

Conversion OLE object to STATIC type

Anonymous
Not applicable
2,841 Views
1 Reply
Message 1 of 2

Conversion OLE object to STATIC type

Anonymous
Not applicable

Hi all,

I have a problem with converting OLE objects to STATIC type.
According to http://www.autodesk.com/techpubs/autocad/acadr14/dxf/ole2frame_al_u05_c.htm:

  71     OLE object type, 1 = link, 2 = embedded, 3 = static
I should just change the 71 dxf group to 3.
 
Or use:
   (vla-put-OleItemType objOle 3)

But none of above works. OLE is still EMBEDED.

How can I force OLE to change its type?

regards,
Warzyk
0 Likes
2,842 Views
1 Reply
Reply (1)
Message 2 of 2

john.uhden
Mentor
Mentor

I really don't know the answer, but I recall that sometimes vla methods don't work.

 

Instead of
 (vla-put-OleItemType objOle 3)
try
(vlax-put objOle 'OleItemType 3)

John F. Uhden

0 Likes