Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


Forum Highlight: CATIA V6

 

Get Answers to Your V6 Questions
Dassault Systèmes answers user questions about CATIA V6.  Discuss these answers and propose new questions with end users from around the world in the CATIA V6 Forum.

COE DISCUSSION FORUM
Subject: VRML export: correlating the CATProduct name with the groupname in the VRML file

You are not authorized to post a reply.   
Author Messages
RICK BARD

02 May 2007 03:36 PM

This is a copy of a request over in the V5 Programming forum ... I sure could use some help on this!

I'm exporting the contents of a CATIA V5 CATProduct document to a VRML 2.0 file.  The CATProduct document references other CATProducts.  When I export to VRML, the names in the VRML file looks more like an address than an object name, e.g.,

def _0FF27978 Group {

where I might have expected something like:

def blueCAR Group {

Has anybody out there attempted to match these names up?  Thanks!

More info: The name in the VRML file is not persistent.  If I run V5, load a CATProduct as VRML, exit, restart V5, reload the CATProduct,
(I'm getting tired just TYPING it! :-D)
and re-save the VRML into a 2nd filename ... diff the files ... the names in the VRML file are different.
Oh ... PS - I'm using C++, CAA, to interface to V5. 
Help?  Thanks -

The best option that we've come up with - don't laugh, please - is to move each CATProduct in the scene to a unique location, save the VRML, read the VRML, and correlate the VRML name with the location for each CATProduct ....

RICK BARD

15 May 2007 01:45 PM
Well, for those who have been waiting for a definitive answer, I received the following via a "formal inquiry" route:

"In investigating your inquiry, our CAA support team has informed us that there is no way to get a mapping between a vrml document and a CATPart document"

That wasn't quite what I had asked, but I guess I'm stuck with Plan B ....
RICK BARD

18 Jul 2007 04:11 PM

Well, I found a piece of the puzzle, if anybody out there needs this info ....

The names in the VRML file are the addresses of the CATSurfacicRep elements under each CATPart. Which explains the lack of persistence as regards the names in the file .....

edit: I misspelled the CATSurfacicRep in the original post

You are not authorized to post a reply.
Forums > COE Forums > Data Exchange > VRML export: correlating the CATProduct name with the groupname in the VRML file



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)