AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
PDMS Quick Tips & Customizations Method not Found in Object
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 5 replies
  • Subscribers 2 subscribers
  • Views 45 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Method not Found in Object

Eric Callis
Eric Callis over 12 years ago
 
  • Sign in to reply
  • Cancel
  • Admin
    Admin over 12 years ago
    I have made a quick check on my test object. Here it is

    define object MYTESTOBJECT

    endobject
    define method .MYTESTOBJECT()
     
    endmethod
    define method .clear(!a is dbref, !b is dbref, !c is string, !d is string, !e is string)
     q var !a.name
     q var !b.name
     q var !c
     q var !d
     q var !e
    endmethod

    the methos is working

    Try reload object with PML RELOAD OBJECT yourobjectname
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Eric Callis
    Eric Callis over 12 years ago
    I'm using AVEVA PDMS Design Mk12.0.SP6.40[7401]  (WINDOWS-NT 5.2)  (2  Oct 2012 : 12:11)

    I have an object that I have been working on and needed to add a new method (I've been using PML2 since 2000). Regardless of what I do (exit PDMS, Reboot, PML LOAD OBJECT, PML Rehash ALL, etc). I can't get PDMS to recognize the method.

    q var !nsc

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Venkata Rao Peta
    Venkata Rao Peta over 12 years ago
    show !!pmlbrowser

    will help you to know the methods in a function,form or object.check this.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Eric Callis
    Eric Callis over 12 years ago
    Thanks guys but I did all that. The issue was fixed when I upgraded to Mk12.0.SP6.45. It appears that some of the PDMS core *.dlls in 12.0.SP6.40 got corrupted on my computer. In any event, the method is available now.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • me_hungry
    me_hungry over 12 years ago
    @egcallis
    New fix came out again:) Guys from Aveva work fast..
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel