×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Versioning Table for As Saved
2

Versioning Table for As Saved

Versioning Table for As Saved

(OP)
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

RE: Versioning Table for As Saved

2
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources