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

How to extrude a AcDb3dSolid and retreive informations ?

1 REPLY 1
Reply
Message 1 of 2
Yann458
758 Views, 1 Reply

How to extrude a AcDb3dSolid and retreive informations ?

Hello,

I'am newed in this forum.

 

I need your help,

I will wish to develop a low-level primitives extruder from AcDb3dSolid entity.

 

I am searching for a C,C++ objectarx's sample or information in order for extract the primitive vertex x, y, z and texture u, t since a AcDb3dSolid entity .

 

Why? I want to export AcDb3dSolid entity to a private DAT file containing vertex x, y, z and texture alignment u, t,

in order for future displaying it in OpenGL (this is my problem).

 

 

Thank you very much.

1 REPLY 1
Message 2 of 2
Balaji_Ram
in reply to: Yann458

Hello,

 

Welcome to the ObjectARX forum !

 

To retrieve information from the AcDb3dSolid, you can use the BRep API. There is a sample in the ObjectARX SDK folder under "utils\brep\samples\brepsamp”".

 

Also, this blog post can help.

http://adndevblog.typepad.com/autocad/2013/01/get-points-from-a-region-solid-or-body-in-objectarx.ht...

 

About your other query on retrieving the UV coordinates of the texture, unfortunately this is not possible at present.

http://forums.autodesk.com/t5/NET/Obtaining-texture-UV-coordinates/m-p/4463361#M37134

 

Regards,



Balaji
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report

”Boost