• It's very useful for our beginners. Thanks a lot!
  • Thanks Byte
    It's nice guide for PML beginner like me.
  • Thanks a lot. This is quite useful for PML beginers.
  • Send me a PM [EMAIL="zbest1966@yahoo.com"]zbest1966@yahoo.com[/EMAIL] Need to ask you about PML for beginner please
  •  

  • This manual will give more info to users..


    Special thanks to Rommel Daguplo, my former colleague.
  • using System;
    using System.Collections.Generic;
    using System.Text;
    using Aveva.ApplicationFramework;
    using Aveva.ApplicationFramework.Presentation;
    using Aveva.Pdms.Shared;
    using Aveva.Pdms.Database;
    namespace testdotnet
    {
       public class Class1 : IAddin
       {
           #region IAddin 成员
           public string Description
           {
               get { return "Description my addins"; }
           }
           public string Name
           {
               get { return "testdotnet"; }
           }
           public void Start(ServiceManager serviceManager)
           {
               Form1 f = new Form1();
               f.Show();
           }
           public void Stop()
           {
               
           }
           #endregion
       }
    }
  • 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