Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CATIA CAA - How to create and access Tables in a Drawing 2

Status
Not open for further replies.

MShetty

Automotive
Feb 27, 2020
10
IN
I am currently developing an application in CAA and I am unable to access the Tables in a drawing or create new one.
Any idea what the interface and Framework I am supposed to use?
 
Replies continue below

Recommended for you

Hi.

There's no specific tables API in CAA so you just use one designed for Automation - CATIADrawingTable from [tt]DraftingInterfaces[/tt] framework.
 
Thank you for the reply Little Cthulhu,
So the only way is to perform an ExecuteScript and get the Tables from VBA?

Thanks in advance.
 
No, you can use all Automation interfaces directly in CAA. Include "TIE_CATIADrawingTable.h" and you're ready to QueryInterface.
 
Hi Little Cthulhu,

I'm working on something similar like this, so could you please elaborate about including the ".h". How its suppose to be done? Also how do i access the properties (VBA) of any object in CAA

 
SAlawani said:
so could you please elaborate about including the ".h".

File includes are the very basis of C++. Sorry, I'm not going to teach programming.

SAlawani said:
Also how do i access the properties (VBA) of any object in CAA

There's no such thing as "properties access (VBA)" in CAA nor in VBA. Properties are divided into interfaces, each with unique set of members. You get an interface (typically with QueryInterface) - you access some properties.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top