Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Versioning Table for As Saved 2

Status
Not open for further replies.

gergs

Computer
Aug 20, 2004
94
Can anyone post this section or point me to a resource that has an example of a versioning table for the ug_english file? Im looking for one that will drive the "As Saved" option under load options. I want to use alpha-numeric versioning. Heres how I would like to name my parts and have versioning find the latest. Heres an example of some revised names.

ug.5000e480.01.0a.prt, ug.5000e480.01.0b.prt, ug.5000e480.01.0c.prt

Thanks again,
GG
 
Replies continue below

Recommended for you

Examples are in the ug_english .def file.

This is what our section looks like.
Our part numbers are in two forms:
12345678.00.prt or 12345678.c.00.prt


! ******************************************
! ** PART NAME VERSIONS **
! ******************************************
!
! The following rules are used to describe the part names
! the system will use when searching for the version of a
! part for an assembly. The syntax for the rules follows
! the Regular Expressions used by the UNIX system. Leaving
! the rules blank means the system does not recognize
! versions of files and will compare complete part names
! when searching for parts.
! Examples follow.
!
! This pattern specifies the general format of versioned
! part names.
!
Assemblies_PartNameFormat: ([0-9]+\\.)([0-9][0-9]|([0-9][0-9sm]|([a-e]\\.[0-9][0-9sm])))


! This value decides which portion of the
! Assemblies_PartNameFormat rule is the
! version independent portion of the name.
! It consists of 2 back-slashes "\\"
! followed by the number of the section.
!
Assemblies_PartNameSubstitution: \\1


! This value is used to match all versions of a part in a
! directory.
! It consists of the Assemblies_PartNameSubstitution
! rule specifying the
! version independent portion of the name along with the
! section of the
! Assemblies_PartNameFormat rule specifying the pattern
! for the part version.
!
Assemblies_PartNameMatch: \\1([0-9][0-9]|([0-9][0-9sm]|([a-e]\\.[0-9][0-9sm])))


! This value decides which portion of the
! Assemblies_PartNameMatch rule
! is the version portion of the name.
!
Assemblies_VersionSubstitution: \\1


! This value decides the sorting order that will be used
! to determine the latest
! version of a file if several exist.
! Note: A valid option must be specified even if file
! versioning is not being used.
!
! Valid options are: [MILITARY,NUMERIC,REVERSE_NUMERIC,ALPHABETIC,REVERSE_ALPHBETIC, ALPHANUMERIC]
!
! where:
! MILITARY : 1 < 1.2 < 3.2.1
! NUMERIC : 2 < 5 < 11
! REVERSE_NUMERIC : 15 < 7 < 2
! ALPHABETIC : a < m < z < av < ff
! REVERSE_ALPHABETIC : z < a < vv < aa
! ALPHANUMERIC : a2 < a5 < b2 < b23 < aa12 < bc22
!
Assemblies_VersionType: NUMERIC


"Wildfires are dangerous, hard to control, and economically catastrophic."
"Fixed in the next release" should replace "Product First" as the PTC slogan.

Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor