- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: has anyone successfully run a shell script in ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 11:31 AM
06-05-2002 11:31 AM
has anyone successfully run a shell script in Pro-E (or vise versa)?
In Pro-E, there is a mapkey command that I want to run. I can do this fine. the catch is that I want to do this for about 3000 files. what I would like to do is run my script that would
1. open a file (listed alpha-numerically)
2. run mapkey
3. save file
4. close file
5. repeat 1-4 for each file in directory
now, I can combine 2-4 on my own; the hitch comes with #1 and #5. I don't know if this could be done in Pro-e or outside, but I need to step it through each file (a "for i in *" type of thing). the problem that I have is that I can do one iteration in Pro-e, but can't figure out how to automatically open each file successivly. I can also run it outside (in a loop for each part, open pro-e, go to next) but I can't figure out how to pass the mapkey command to run in Pro-e (or the filename either). Does that make sense? Anyway, if anyone has even the wildest suggestions, I'd happily entertain them. Thanks!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 11:40 AM
06-05-2002 11:40 AM
Re: has anyone successfully run a shell script in Pro-E (or vise versa)?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 11:45 AM
06-05-2002 11:45 AM
Re: has anyone successfully run a shell script in Pro-E (or vise versa)?
I can generate the list, but I don't know how to pass the names to the open file window in Pro-E. it's a gui window, so from within it would look at the name file (names.txt) as a file and not as a list to work through. From outside, I could read the list but don't know how to turn the open file window into a command (i.e. open file.prt) that could be issued in a script and passed from outside into Pro-E and executed.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 12:08 PM
06-05-2002 12:08 PM
Re: has anyone successfully run a shell script in Pro-E (or vise versa)?
Unless you can find a command-line mode for Pro/E that can be utilized in a script, I think you're going to be SOL.
Have you looked to see just *what* the mapkey command is doing to the files & think about doing it w/o going into Pro/E?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 12:22 PM
06-05-2002 12:22 PM
Re: has anyone successfully run a shell script in Pro-E (or vise versa)?
That's my fear, and that'll amount to a fun couple of weeks :(
as to what I want (I don't know if you know pro-e), there are a number of model parameters that need to be designated to be read in Pro-Intralink. I wait until I've got thousands before thinking about doing this, but...
I can see the parameters by looking at the part file in vi, but God only knows what all the numbers mean. It's certainly worth a try; I'll have to play around with it and see if I can track the changes that I'm doing. Maybe I'll get lucky. Thanks!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 12:37 PM
06-05-2002 12:37 PM
Re: has anyone successfully run a shell script in Pro-E (or vise versa)?
They couldn't understand that putting a 1280x1024 256 color background graphic that was actually about 3'x 4' foot at that res on their 21" console tended to suck all the resources out of the W/S. ;~)
They liked to scroll around the picture......
Jeff
P.S. Seems to me that if you're doing the *same* thing to all the files...the *change* ought to be consistent....Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2002 12:49 PM
06-05-2002 12:49 PM
Re: has anyone successfully run a shell script in Pro-E (or vise versa)?
Make a copy of the file pre-change & just use diff on it & the other post-change. Do that on several files & the change may jump out at you.
Also I know that Pro/E has all kinds of global functions...got any Pro/E *experts* out there that can do more than just draw? Might be able to get Pro/E to do all the work for you by *grouping* the parts & telling Pro/E to do the change on all of 'em. I don't know how many engs you've got out there, but I'll bet you something like this has come up before & onne of the smarter ones has found a "shortcut".
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 07:27 AM
06-06-2002 07:27 AM
Re: has anyone successfully run a shell script in Pro-E (or vise versa)?
Mark