how to create structural grating as shown in picture

 
Parents
  • Try to check if the createGrating.pmlfrm file is registered in the pml.index.
    Command: q var !!pml.getpathname('creategrating.pmlfrm')
    If the above command will result: (44,33)   FNF:File not found, then the file is not registered in the index otherwise it will gives you the file directory being saved to.

    Your PDMSEXE environment variable is set to multiple path, it is quite confusing where is the right location of your local PMLLIB.

    Another way:
    1. Type in the PDMS command: Q VAR !!EVAR('PMLLIB').SPLIT()
       If it will output the path array of PMLLIB, just select one of array and then browse to the specified path.
    2. Create your own FOLDER under the PMLLIB and the put [COLOR=#3E3E3E]all your PDMS macro files to your FOLDER in the local PMLLIB (pmlfrm, pmlfnc, pmlobj & etc).
    [/COLOR]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. [COLOR=#3E3E3E]To call the Create Structural Grating Form, type in the PDMS command: [/COLOR]SHOW !!CREATEGRATING
Reply
  • Try to check if the createGrating.pmlfrm file is registered in the pml.index.
    Command: q var !!pml.getpathname('creategrating.pmlfrm')
    If the above command will result: (44,33)   FNF:File not found, then the file is not registered in the index otherwise it will gives you the file directory being saved to.

    Your PDMSEXE environment variable is set to multiple path, it is quite confusing where is the right location of your local PMLLIB.

    Another way:
    1. Type in the PDMS command: Q VAR !!EVAR('PMLLIB').SPLIT()
       If it will output the path array of PMLLIB, just select one of array and then browse to the specified path.
    2. Create your own FOLDER under the PMLLIB and the put [COLOR=#3E3E3E]all your PDMS macro files to your FOLDER in the local PMLLIB (pmlfrm, pmlfnc, pmlobj & etc).
    [/COLOR]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. [COLOR=#3E3E3E]To call the Create Structural Grating Form, type in the PDMS command: [/COLOR]SHOW !!CREATEGRATING
Children
No Data