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.


Register Today
COE 2009 Annual PLM Conference & TechniFair

COE DISCUSSION FORUM
Subject: Change Class Type when saving with CATIA integration

You are not authorized to post a reply.   
Author Messages
PHILP

21 Nov 2007 08:34 AM

Hello everybody,

 

I have a question about the catia-smarteam integration. I'm doing automatic Save and Checkin with the integration ( ref: ‘Save or Release a Part from CATIA’ in this forum).

 

My problem is that I'm not able to set the class type while saving; I don't see any option to set it.

 

My first idea was to change the default class in 'Class Management' but I don't want the user change it manually when working...

 

My second idea was to change it using SmIntegrationTool, do my Save and change it back to the default class. I was sure to have the good idea this time since the first line of the SmIntegrationTool documentation is "Define default class and File Type for the Integration Behaviors". The problem with this is that I'm not able to SET the default class; I've found 2 different ways to GET it, but not to set a new one.

(I can get it with ISmCadFileTypes.DefaultClass and ISmSpecificIntegrationStore.DefaultManagedClassForCadFileType)

 

Any hint on how I can change the default class, or set on with the integration?

 

Thanks

 

 

Phil 

AMODG

18 Apr 2008 01:17 PM

Hi Philp,

I am also facing the same problem. How can I change the SMARTEAM class when I perform a SMARTEAM save operation ?

Did you got any pointers from the forum?

Thanks in Advance,

Amod

HALE


26 Apr 2008 09:37 PM
Philp and Amod,

I'm not totally sure what you are trying to do, but I did find that in some cases commands that required a SET x = y in SmarTeam Scripts resulted in a error condition in VBA. x = y worked fine. Go figure. It is possible that you can set your class type if you don't use the word SET. Its worth a try anyway.

Regards,
Hale

Badencorp - CATIA/SmarTeam - Installation, Training and Support!
An hour of hard work can often save you 60 seconds on Google.
You are not authorized to post a reply.
Forums > COE Forums > SmarTeam > Change Class Type when saving with CATIA integration



ActiveForums 3.6

    

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