AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
PDMS Quick Tips & Customizations C# Customisation
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 14 replies
  • Subscribers 2 subscribers
  • Views 211 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

C# Customisation

Aaron Tan
Aaron Tan over 11 years ago
 
  • Sign in to reply
  • Cancel

Top Replies

  • Ionut Matic
    Ionut Matic over 10 years ago +1
    Hi. I searched for this on forum and I found nothing... I want to make a # report for Aveva Marine (Outfitting module). I made the graphical interface in VS C#, but (and this is my question) how can…
  • Aaron Tan
    Aaron Tan over 11 years ago
    Hi All,

    I am about to start learning C# and was would like an idea of what i can do for PDMS.
    For example what forms would you create using C# that would be impractical or not available to code with PML?

    I just want to have a rough idea to aim for and thought the forum could provide me with some direction
    • Cancel
    • Vote Up -1 Vote Down
    • Sign in to reply
    • Cancel
  • Tepliuk Aleksandr
    Tepliuk Aleksandr over 10 years ago
    Join the group about C# Customisation of PDMS.
    https://lnkd.in/e49SJi3
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Tepliuk Aleksandr
    Tepliuk Aleksandr over 10 years ago
    [h=3]PDMS C# Addins tutorial (Part 1) [COLOR=#222222]lnkd.in/.../h]
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ionut Matic
    Ionut Matic over 10 years ago
    Hi. I searched for this on forum and I found nothing...
    I want to make a # report for Aveva Marine (Outfitting module). I made the graphical interface in VS C#, but (and this is my question) how can I collect elements from C#(not using PMLNetCallable, because i don't want a pml script from which to call C# methods)? I can use CommandLine.CreateCommand, but this is returning a boolean value only, so it's useless...
    Thank you.
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Ionut Matic
    Ionut Matic over 10 years ago
    I forgot to mention that this I want to be an AddIn. All that I already made is working in AM(dll is imported and GUI is functional).
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sivakumar
    sivakumar over 9 years ago
    DbElement CE = CurrentElement.Element;


               TypeFilter filt = new TypeFilter(DbElementTypeInstance.SCTN);


               DBElementCollection collection = new DBElementCollection(CE, filt);






               foreach (DbElement ele in collection)
               {


                   string eee = ele.GetAsString(DbAttributeInstance.SPRE);


                   if


                       (eee.Contains("/BS-SPEC/610x229x113kg/m"))


                       //matchwild method
                   {


                       string fff = ele.GetAsString(DbAttributeInstance.NAME);


                     Aveva.Pdms.Utilities.CommandLine.Command.CreateCommand("$p " + fff ).RunInPdms();


                   }


                   


               }
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ionut Matic
    Ionut Matic over 9 years ago
    Thank you. Since then, I have found a solution...and is the same as yours. :adoration:
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sivakumar
    sivakumar over 9 years ago
    Hi, could u help me my doubts in below link threat,

    http://52.178.132.139/showthread.php?t=18101
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • SARGUNAM
    SARGUNAM over 7 years ago
    PDMS Addin not loading while starting PDMS

    I just created a PDMS addind based on Youtube video (https://www.youtube.com/watch?v=hm3he6hNFis&index=7&list=PLEHeX2ze5RxBCLvhTocWcQlLRmnPyvPuH) from Aleksandr Teplyuk channel.
    I followed all the steps from video but the Addind not loading. Is there any thing i missed appart from the video.

    Please help me.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Satish
    Satish over 6 years ago
    Post your code. lets verify it.

    I prefer to use PMLNET over ADDIN because its simpler to load and use.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>