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".
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 ?
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.
@@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,
@@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 )
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
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".
I will try my best
Good work
Awesome!
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 ?
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.
@@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,
@@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 )
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