Coding Tutorial - Conversion of Aidlines to Gensec

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 10

  • @pranay3490
    @pranay3490 3 ปีที่แล้ว

    Very useful please keep on posting videos on PML coding. " My suggestion is start from basic like meaning of variables, if , do etc.... Then after go through practical applications".

  • @Hanifa2017
    @Hanifa2017 ปีที่แล้ว

    Good work

  • @xuong1
    @xuong1 ปีที่แล้ว

    Awesome!

  • @domagojbrkovic4861
    @domagojbrkovic4861 3 ปีที่แล้ว

    Is it possible to draw complex structures with lines and to parameterized it with macro ? for example create stairs with lines and assinge values in txt and change just Height and run and the aveve changes stairs ?

    • @TDSEngrSolutionsPteLtd
      @TDSEngrSolutionsPteLtd  3 ปีที่แล้ว

      Of course it is possible. You can do it in 2 ways, with PML or Design template. We did it for structures with some equipment using design template and PML . PML is easier for most people.

    • @domagojbrkovic4861
      @domagojbrkovic4861 3 ปีที่แล้ว

      @@TDSEngrSolutionsPteLtd Sir keep up the good work, thank you for your codig PlM video.
      For me (Fresh engineering graduate) this is beyond helpfull.
      If you have some literature to recommend or for me to buy so i can learn the basics feel free to recommend.
      Best of regards,

    • @TDSEngrSolutionsPteLtd
      @TDSEngrSolutionsPteLtd  3 ปีที่แล้ว

      @@domagojbrkovic4861 Glad you like it. We are doing more videos with people like you in mind. The AVEVA E3D help file ( available on line ) and other help file is useful ( help.aveva.com/AVEVA_Everything3D/1.1/GS/wwhelp/wwhimpl/common/html/wwhelp.htm#href=GS_FP.html&single=true )

  • @rafiquegazali
    @rafiquegazali 3 ปีที่แล้ว

    Thank you for the guidelines
    I have used your method to create this PMLFRM
    setup form !!S2G
    Title 'Macro to Change Sctn/Aidline 2 Gensec Ver 1.0'
    button .Heib 'Heirarchy' call |!this.HEI()|
    path right
    text .heir '' width 25 is string
    path down
    button .create 'Create' call |!this.CS2G()|
    path right
    button .Cancel 'Cancel' ok
    exit
    ----------------------------------------Main Program ------------------------------------------------------------------
    define method .CS2G()
    !heir = $!this.heir
    --Get a List of Selected objects
    !selected = object SELECTION()
    !selected.getcurrent()
    !Sctnx = !selected.getselection()
    !p = !!steelworkSectionSettings.displayedprofiles
    !i = !!steelworkSectionSettings.displayedprofileindex
    !selectedProfile = !p[!i]
    !selectedJus = !!steelworkSectionSettings.justification
    do !Sctny values !Sctnx
    !!CE = !Sctny
    !poss = !!CE.POSS
    !pose = !!CE.POSE
    --Goto the Framework
    $!heir
    --Create Gensec
    NEW GENSEC
    !!CE.SPREF = !selectedProfile
    !!CE.JUSL = !selectedJus
    NEW SPINE
    --Add the Start and End of the GENSEC
    NEW POINSP
    !!CE.POS = !POSS
    NEW POINSP
    !!CE.POS = !POSE
    ENDDO
    Endmethod
    --------------------------------Heirarchy Set---------------------------------
    define method .HEI()
    !HEIN = !!CE.NAME
    !this.Heir.val = !HEIN
    endmethod