how to create structural grating as shown in picture

 
Parents
  • Hi rhel, I still get the same problem. Thanks.


    Did you change the macro file name? Form name is link on the method .positionDone(!pickedData is EDGPOSITIONDATA), just replace with the new form name if ever you changed the name: !this.gratingPos.val = !!createGrating.position
    Save the macro file to your folder inside the local PMLLIB then type in the command line: PML REHASH ALL
    Callout macro command to show the form: SHOW !!CREATEGRATING


    [COLOR="silver"]- - - Updated - - -[/COLOR]

    i am working on a PDMS global server,can not save any pmlfrm in the global pml library, is there any way so that i can keep them locally and use button on toolbar to call the pmlfrm same as a macro.


    Yes, it is advisable to saved all your customized macro on your local pml library.

    1. Type in the PDMS command: Q EVAR PDMSEXE
       Navigate to the pdms installation directory and look for the folder name PMLLIB
    2. Create your own FOLDER under the PMLLIB and the put all your PDMS macro files to your FOLDER in the local PMLLIB (pmlfrm, pmlfnc, pmlobj & etc).
    3. Navigate back to the PMLLIB folder and look for the file pml.index and then DELETE the pml.index file. Do not worry, it will be create again.
    4. Type in the PDMS command: PML REHASH ALL
    5. To call the Create Structural Grating Form, type in the PDMS command: SHOW !!CREATEGRATING
Reply
  • Hi rhel, I still get the same problem. Thanks.


    Did you change the macro file name? Form name is link on the method .positionDone(!pickedData is EDGPOSITIONDATA), just replace with the new form name if ever you changed the name: !this.gratingPos.val = !!createGrating.position
    Save the macro file to your folder inside the local PMLLIB then type in the command line: PML REHASH ALL
    Callout macro command to show the form: SHOW !!CREATEGRATING


    [COLOR="silver"]- - - Updated - - -[/COLOR]

    i am working on a PDMS global server,can not save any pmlfrm in the global pml library, is there any way so that i can keep them locally and use button on toolbar to call the pmlfrm same as a macro.


    Yes, it is advisable to saved all your customized macro on your local pml library.

    1. Type in the PDMS command: Q EVAR PDMSEXE
       Navigate to the pdms installation directory and look for the folder name PMLLIB
    2. Create your own FOLDER under the PMLLIB and the put all your PDMS macro files to your FOLDER in the local PMLLIB (pmlfrm, pmlfnc, pmlobj & etc).
    3. Navigate back to the PMLLIB folder and look for the file pml.index and then DELETE the pml.index file. Do not worry, it will be create again.
    4. Type in the PDMS command: PML REHASH ALL
    5. To call the Create Structural Grating Form, type in the PDMS command: SHOW !!CREATEGRATING
Children
No Data