AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
PDMS Guides Short PML guide
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 36 replies
  • Subscribers 1 subscriber
  • Views 233 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Short PML guide

Adnan Dervisevic
Adnan Dervisevic over 14 years ago
 
  • Sign in to reply
  • Cancel
  • Felix Zamora
    Felix Zamora over 12 years ago
    HI,
    Is this visual basic?
    Can you explain a little bit how this program runs and how to load this program..

    Thank you very much.

    Cheers,
    felix
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Matt de los Angeles
    Matt de los Angeles over 12 years ago
    Wow I really appreciate it. Thanks deva. I really like your manual.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Matt de los Angeles
    Matt de los Angeles over 12 years ago
    hi coscosy, how to run this?

    [QUOTE=coscosy_ly;71018]using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using Aveva.ApplicationFramework;
    //using Aveva.ApplicationFramework.Presentation;
    using Aveva.Pdms.Shared;
    using Aveva.Pdms.Database;
    using Aveva.Pdms.Geometry;
    using Aveva.Pdms.Utilities.CommandLine;
    namespace testdotnet
    {
       public partial class Form1 : Form
       {
           public Form1()
           {
               InitializeComponent();
           }
           private void button1_Click(object sender, EventArgs e)
           {
               string name = CurrentElement.Element.
                   GetAsString(DbAttributeInstance.FLNM);
               DbAttribute[] atts =
                   CurrentElement.Element.GetAttributes();
               List
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Shankar Yadav
    Shankar Yadav over 12 years ago
    Good info...Byte

    Thanks alot...
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • anindya ganguly
    anindya ganguly over 12 years ago
    CAN YOU EXPLAIN TO ME WHAT DO I GET WHEN I RUN THIS MACRO IN COMMAND PROMPT OF PDMS . i tried running this macro in pdms 12 sp6.4 environment i got and error at the first step itself. i ran in design module of pdms. can you guys please help me out in understanding the reason behind doing this activity
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Admin
    Admin over 12 years ago
    CAN YOU EXPLAIN TO ME WHAT DO I GET WHEN I RUN THIS MACRO IN COMMAND PROMPT OF PDMS . i tried running this macro in pdms 12 sp6.4 environment i got and error at the first step itself. i ran in design module of pdms. can you guys please help me out in understanding the reason behind doing this activity


    To explain what is wrong with your code it is needed to look at the error you got. so please attach a scrrenshot with error.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Matt de los Angeles
    Matt de los Angeles over 12 years ago
    Copy and paste the Error and paste also the text of your macro on what line part you receive an error
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Admin
    Admin over 12 years ago
    the message given:- (47,50)   CP: Meaningless symbol(s) in command line
    In line 1 of Macro c:\tr1.txt
    using System^^
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Admin
    Admin over 12 years ago
    deva,
    many thanks for your PML manual, possible to find the manual for macro or are they same?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mine mine
    mine mine over 11 years ago
    This is a non-compiled c# program...this is why don't work like a macro.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<>