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

PDMS group screening method

2010-09-15View Original

Thread Content

This post was last edited by wordexport on 2010-9-19 09:52. Hello, does anyone know if there are any other convenient ways to retrieve data in bulk within PDMS, in addition to the regular system operations? For example, methods that allow for filtering, similar to a list function. Thank you
Reply #22010-09-15
I’ll take care of it myself; I hope some expert will appear to help solve it
Reply #32010-09-17
I’m not sure if my post made itself clear enough; I’d like to add some further details. In our institute, it’s common to classify pipes based on their type, and this leads to a problem: when generating drawings, pipes of the same type end up scattered across different model trees, which makes management difficult. PDMS has a concept called \"group\" that allows for the centralized management of such dispersed elements. However, with standard PDMS operations, it’s necessary to add each pipe individually, which is quite tedious. I was wondering if there’s a filtering function similar to a list that could enable batch selection, or if it’s possible to use PML for this purpose. I hope zzghf_cd can provide an answer. Thank you
Reply #42010-09-17
This post was last edited by zzghf_cd on 2010-9-17 at 11:23. It’s a bit confusing; I don’t quite understand what you exactly want to do. I assume you want to use PML for filtering, and if that’s the case, there’s no problem in using PML for that – you just need to list out your filtering criteria
Reply #52010-09-17
I mean, in the model tree’s group world, it’s possible to add groups manually, but filtering using methods like lists isn’t available. I’d like to know how to write a PML program that allows for batch selection and input of elements within the group world
Reply #62010-09-18
Assuming that all your pipes are located in /PIPES, your filtering condition is that the name contains 100-B, and your group level is GROUP 1 of GPWLD 1 of WORLD /*, then the program should be written as follows: var !brans coll all bran with matchwild(name,'*100-B*') for /PIPES GROUP 1 of GPWLD 1 of WORLD /* do !bran values !brans gadd $!bran enddo
Reply #72010-09-19
Thank you. I just didn’t know there was a command called gadd; I couldn’t find any information on it. Brother zzghf_cd has a very strong foundation in PML
Reply #82010-09-19
Hehe, it’s just average; I’ve done many programs before, that’s why I know a little about it
Reply #92010-09-19
Do all commands executed within a group just need to have a ‘G’ added in front of them?
Reply #102010-09-19
Use grem for removal; other methods are not used very often. It depends on your needs. If you encounter any problems, we can discuss them then – everything should be solvable
Reply #112010-09-19
Hello, zzghf_cd. May I ask if the code var !brans coll all bran with matchwild(name,'*100-B*') for /PIPES can be written in this way? var !brans coll all $!a withmatchwild(!type,!text) for $!b !a = 'bran' !type = 'Pspec' !text ='*1A1' !b = '/*'

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.