CoCreate User Forum  

Go Back   CoCreate User Forum > Old NewsGroup Archive > Archive Forums > ME10

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-17-2002, 03:12 AM
Daniele Spessotto
Guest
 
Posts: n/a
Dynamic subpart loading

I'm trying to create a macro for loading subparts in Me10 that make possible to decide the point of insertion and the orientation of the subpart loaded before it be inserted in the drawing. Do someone know how i can do this? Thanks, Daniele.
  #2  
Old 09-17-2002, 05:28 AM
Bruce Fisher
Guest
 
Posts: n/a
re: Dynamic subpart loading

Daniele, What you are asking first requires that you have your subparts saved with a pre-determined reference point. The user then can be prompted to select a point for the file to load as well as an angle of orientation. Here is an example macro that will do the basic stuff. Good Luck. define load_ref_part local p1 local ref_ang local ref_name READ 'Enter the part name to load' ref_name READ PNT 'Select the part reference point' P1 READ NUMBER 'Enter the orientation angle' ref_ang load SUBPART ref_name P1 modify del_old rotate center p1 ref_ang ref_name end end_define
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -8. The time now is 04:50 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.