RSS

Macro to export pipe to PCF files (Caesar II)

26 Feb

Found this macro and you may download the macro for free

download_button

 

Update

Since many people ask how to use the macro, you can follow this procedure

1. Download the file here download_button

2. Extract the caesariipcf.pmlfrm to PMLLIB folder

3. Go to design module and type in command line PML REHASH ALL

4. Run the macro by typing show!!caesariipcf in Design module. The macro will look like this

caesariipcf

 

5. Select the pipe you want to export. Press the Add CE button on the form

6. The form will add all branches in the pipe. You may add more that 1 pipe. Select only the branches you want to extract. Make sure they are highlighted.

caesariipcf2

 

7. Press the Export button

8. The output file will be stored at %pdmswk%\CaesarPCF\ folder. The name of the file will be corresponding to the branch name. 1 file for each branch.

9, Go to Caesar and do the import PCF.

10. Done

If you want to change the destination folder. Edit the macro using text editor and change %pdmswk% to, say, C:\TEMP. in line 128, 131 and 133 of the macro file.

Update: For PDMS V12.1 please use this file download_button Thanks to Francois Salmin and Jevon Liu for creating this macro.

About these ads
 
29 Comments

Posted by on February 26, 2013 in Download Macro

 

Tags: , , , ,

29 responses to “Macro to export pipe to PCF files (Caesar II)

  1. m3kanic0

    March 4, 2013 at 4:41 pm

    Thanks for your work!

     
    • Anonymous

      July 3, 2014 at 9:05 am

      after downloading the macro wat to do

       
    • mohamed rizhwan

      July 3, 2014 at 9:06 am

      after downloading the macro to export pdms drawing to caesar 2 wat we hav to and tell me the procedure

       
      • pdmsmacro

        July 4, 2014 at 12:42 am

        I have written on the post above: Download the file, extract to PMLLIB folder and run by typing show!!caesariipcf in Design module. The output file will be stored at C:\temp\CaesarPCF\

         
      • mohamed rizhwan

        July 4, 2014 at 11:22 am

        can you please explain in a clear manner after downloading macro what we have to do….

         
      • lyphuong

        July 17, 2014 at 2:12 pm

        Easy way, you execute step by step as post!

         
  2. Mr.Phuong

    March 30, 2013 at 6:25 am

    Can not export in PDMS 12.1.SP2

     
  3. Ahmed Abbas

    March 31, 2013 at 1:22 pm

    PLEEASE ADVICE THE FORM WAS LOADED IN THE DESIGN AND TYPE THE ORDER show!!caesariipcf BUT DOSEN’T ACCEPT ADDITION OF ANY PIPE AND GIVE ME ERROR MESSAGE ” (2.779) Method .EXPORT()not found”

     
  4. Anonymous

    September 11, 2013 at 5:28 am

    I got this erroe : list .list ‘element” columns multiple width

     
  5. François Salmin

    November 26, 2013 at 10:12 am

    I modify this macro for PDMS 12.1.SP2.
    Now works correctly.
    Also update ATTA definition so there is no problem following PDMS hierarchy (If you even try you certainly know the problem). And it is taken as support (support up only) – The problem if you use atta for other purpose (flow, break, penetration, …) they are all taken as support.
    If you want you can give me your email …

     
    • pdmsmacro

      November 27, 2013 at 12:25 am

      thanks..please email me: pdms@pdmsmacro.com

      I will post the macro in pdmsmacro.com if you dont mind.

       
      • Ly Minh Phuong

        November 27, 2013 at 3:03 am

        Thanks for this macro!

         
    • Ly Minh Phuong

      November 27, 2013 at 8:52 am

      I try use this macro in PDMS 12.1.SP2 but have error, pls give your email to attachments?

       
      • pdmsmacro

        December 9, 2013 at 1:40 am

        You can download for version v12.1. See updated post.

         
      • Ly Minh Phuong

        December 9, 2013 at 2:27 am

        I try download macro again , copy to PMLLIB, do in command window and have a error as ” (61,123) F&M form caesariipcf not found” help me

         
      • pdmsmacro

        December 9, 2013 at 2:56 am

        have you done these steps:
        1. type PML Rehash all
        2. show !!caesariipcf

         
      • Ly Minh Phuong

        December 9, 2013 at 3:10 am

        yes I have
        I must upgrade to 12.1.sp2 fix 21 or 22?

         
      • pdmsmacro

        December 9, 2013 at 3:24 am

        that’s strange since mine is working fine with V12.1 Sp 2.0. Check maybe there is another same file located in any of your pmllib folder. or kill the form first. please read manual on running pml form. thanks

         
      • Anonymous

        January 28, 2014 at 2:16 pm

        Hi I need to deliver an urgent job you can send me the macro and instructions in this email edwardvicente27@gmail.com, I thank you in advance, greetings

         
      • Anonymous

        January 28, 2014 at 2:18 pm

        Hi I need to deliver an urgent job you can send me the macro and instructions in this email edwardvicente27@gmail.com I thank you in advance, greetings

         
      • Anonymous

        January 28, 2014 at 2:18 pm

        Hi can you send me the macro and instructions in this email edwardvicente27@gmail.com, I thank you in advance, greetings

         
      • pdmsmacro

        July 4, 2014 at 1:29 am

        See updated post for the instructions

         
  6. Venkatesh

    May 28, 2014 at 1:25 am

    Hi,

    Can you please share the macro and instructions to kumar_gtv@yahoo.co.in
    Thanks a Lot in advance

     
    • pdmsmacro

      July 4, 2014 at 1:21 am

      Please see the updated post that includes the procedure..

       
  7. mohamed rizhwan

    July 4, 2014 at 11:28 am

    3. Go to design module and type in command line PML REHASH ALL
    where is the design module and command line explain please

     
  8. lyphuong

    July 10, 2014 at 2:59 pm

    at last it is only work on 12.1.sp2.2

     
  9. A. Alberto

    August 1, 2014 at 9:31 am

    Thanks to you Francois Salmin and Jevon Liu, Macro works fine. I use on 12.06. I have an issue when PIPE name (!!ce.name) is like 3229-6″-HC-A1-LT-40mm_HH-ETP/005A/0 because .pcf filename cannot contain special characters as ” or /. Is it possible to set a different .pcf filename in order to avoid this error?
    Thanks in advance

     
    • A. Alberto

      August 12, 2014 at 3:19 pm

      [SOLVED] I add .replace(‘”‘,”) at line 180 and it works.
      Thanks
      Buon Lavoro

       

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 91 other followers

%d bloggers like this: