HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Can PDMS $s achieve variability?

2010-09-15View Original

Thread Content

Hello everyone: Those who have used PDMS know that $s can be used to set up shortcut keys for PDMS. For example, $s wpos = q pos wrt world; by entering just the characters “wpos” in the command line, one can achieve the same result as “q pos wrt world”. My question is: what if certain commands contain variables? How can $s be used to simplify them? For instance, in the command “q all box with (attrib east eq 200)”, how can I define “est” and 200 as variables so that they can be used in the command line? I tried using $s ms = q all box with (attrib $s ms1 = ), but when I enter “ms north eq 100 ms1” in the command line, an error appears: “In line 10 of Command/Form Input ^^) eq 200”). Is there any good way to achieve this functionality?
Reply #22010-09-15
Does Haichuan not have any experts in PDMS?
Reply #32010-09-16
$s ms =q all box with attrib ms north eq 100 Try this; my execution was successful
Reply #42010-09-16
That’s strange then; could it be that there’s a problem with (), waiting for an expert to provide a detailed answer
Reply #52010-09-16
$s ms = q all boxes with (attrib $s ns = ) ms north eq 100 ns is sufficient; the error occurs because the first two digits of ms1 are treated as ms, so change ms1 to ns and this problem will no longer exist
Reply #62010-09-17
Thank you, CD brother; the problem has been solved. I hope HaiChuan can post more practical application questions related to PDMS, so that everyone can benefit from them better
Reply #72020-05-17
Kind person, the expert helps me soar. .

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.