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: Any way to output Catia release number in aptsource?

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

11 Aug 2008 12:03 PM

I am new to Catia and this forum. we are using different releases of Catia V5. Is it possible to output the realease number in aptsource with PPRINT command? I cannot find the right resource.

 

Thanks

Quanwen Du

DAVE_FRANK


11 Aug 2008 12:32 PM
Qunwen

I do it manually in all programs, as a post processor instruction

the rel, also the programmers name, the release version of the program itself, etc..
Dave

Chief Instigator MFG ‘PAC-MEN’ Group dfrank nospam @ forrestmachining.nospam.com
Programmers Advising Catia - Making Enhancements Needed
Dell 690 XEON dual QUADZILLA core, 8 gig ram, dual FX4500,SLI
QUANWEN

12 Aug 2008 07:28 AM
Thanks Dave,

I guess that is the only way to do this.

Quanwen
MSSAWATZKY

26 Sep 2008 08:27 AM
Try this CATScript. You can add all kinds of info in the Part Operation Comment block:

Language="VBSCRIPT"

Sub CATMain()

Set proc = CATIA.ActiveDocument.GetItem("Process")
Set ProcChildren = proc.ChildrenActivities
For i = 1 To ProcChildren.Count
If ProcChildren.Item(i).Type = "ManufacturingSetup" = True Then
Set PO = ProcChildren.Item(i)
Exit For
End If
Next

vCatVer = CATIA.SystemConfiguration.Release
PO.Comment = "CATIA V5 R" & vCatVer

End Sub
SAMARINDER


28 Sep 2008 11:54 PM
I tried this and it brings catia version into part op comments by replacing any existing comments which is not good.
Is there any way to add this catia version comment to existing comments of part op?
Thanks

Samarinder Singh
NC-Programmer/Tool Designer
QUANWEN

29 Sep 2008 08:41 AM
Thanks MSSAWATZKY for your script.

Just change one line will meet Samarinder's requirement:

PO.Comment = "CATIA V5 R" & vCatVer & Chr(10) & PO.Comment

It will add the Version/Release info before the existing comments.

Quanwen
You are not authorized to post a reply.
Forums > COE Forums > MFG > Any way to output Catia release number in aptsource?



ActiveForums 3.6

    

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