.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

layers and attribute references in c++ or delphi

2 REPLIES 2
Reply
Message 1 of 3
Balazs
667 Views, 2 Replies

layers and attribute references in c++ or delphi

I have some problems when I want to access reference attributes or set layers.
I'd like to extract block reference information with c++ builder but don't know how to retreive this information from the variant array given by the getAttributes method.
My other problem is to set active layer with name. According to the manual the set_ActiveLayer method needs a variant that can be a string or integer. I cannot convert a c builder string to the appropriate variant.
I would be very thankful if somebody could help me to solve these problems.
Delphi code would also be appreciated.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Balazs

Look at these threads

http://www.autocad.ru/cgi-bin/f1/board.cgi?t=21858iT
http://www.autocad.ru/cgi-bin/f1/board.cgi?t=13131ug

You can use this translator:

http://babelfish.altavista.com/tr

Hth

~'J'~
Message 3 of 3
Anonymous
in reply to: Balazs

Fatty said:

>> Look at these threads

???

Those threads are releated to native ObjectARX/C++.

The OP is using ActiveX via Delphi or C++ Builder.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5588766@discussion.autodesk.com...
Look at these threads

http://www.autocad.ru/cgi-bin/f1/board.cgi?t=21858iT
http://www.autocad.ru/cgi-bin/f1/board.cgi?t=13131ug

You can use this translator:

http://babelfish.altavista.com/tr

Hth

~'J'~

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost