Site Logo
Site Logo
 
It is currently Sun Apr 02, 2017 6:43 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: positioning view on drawing with macro
PostPosted: Thu Jun 02, 2016 9:04 pm 
Offline
Community Moderator
Community Moderator
User avatar

Joined: Tue Jun 07, 2005 4:51 pm
Posts: 3396
Location: Planet Hulk
how do i positioning views on drawing with macro
i use the same size drawing for several different prints


i am trying to make sense of the pick points so i can repeat them


CREATE VIEW SINGLE
<b1> 59.947937 153.560954 0 0 0 1 1.01409 0 0 1 500 367.128275 -367.128275 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<bu> 59.947937 153.560954 0 0 0 1 1.01409 0 0 1 500 367.128275 -367.128275 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<b1> 62.088608 111.015127 0 0 0 1 1.01409 0 0 1 500 132.93608 -132.93608 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<bu> 62.088608 111.015127 0 0 0 1 1.01409 0 0 1 500 132.93608 -132.93608 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<cu> 10 107.95 0 0 0 0 0 0 1 0 1 0
<b1> 60.215521 64.990711 0 0 0 1 1.01409 0 0 1 500 132.93608 -132.93608 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<bu> 60.215521 64.990711 0 0 0 1 1.01409 0 0 1 500 132.93608 -132.93608 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<b1> 18.204862 112.62063 -0 0 0 1 1.01409 0 0 1 500 132.936072 -132.936072 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<bu> 18.204862 112.62063 -0 0 0 1 1.01409 0 0 1 500 132.936072 -132.936072 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<b1> 211.935543 109.944792 -0 0 0 1 1.01409 0 0 1 500 132.936072 -132.936072 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<bu> 211.935543 109.944792 -0 0 0 1 1.01409 0 0 1 500 132.936072 -132.936072 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1




what do these mean and how do i use them

_________________
Thanks
Bruce Green

never did nothing, try always did
if i have caused you hard feelings it was not intended..but my intent is to get the most from whatever i do. :)
to all that have helped me get to where i am THANKS FOR THE KNOWLEDGE


Top
 Profile  
 
 Post subject: Re: positioning view on drawing with macro
PostPosted: Tue Jun 07, 2016 7:38 am 
Offline
Site Admin
User avatar

Joined: Wed Sep 22, 2004 1:36 pm
Posts: 625
Location: Birmingham, UK
The first the values are the position, you may have to build the whole line in a macro using concatenate and the Execute Command.

Would be better using a template model?


Top
 Profile  
 
 Post subject: Re: positioning view on drawing with macro
PostPosted: Tue Jun 07, 2016 12:12 pm 
Offline
Community Moderator
Community Moderator
User avatar

Joined: Tue Jun 07, 2005 4:51 pm
Posts: 3396
Location: Planet Hulk
do you mean the first 3 values per line?

i need to do it i a macro because we all share the template from a database, but i need to setup a few different user macro calls for unique needs

_________________
Thanks
Bruce Green

never did nothing, try always did
if i have caused you hard feelings it was not intended..but my intent is to get the most from whatever i do. :)
to all that have helped me get to where i am THANKS FOR THE KNOWLEDGE


Top
 Profile  
 
 Post subject: Re: positioning view on drawing with macro
PostPosted: Tue Jun 07, 2016 12:21 pm 
Offline
Site Admin
User avatar

Joined: Wed Sep 22, 2004 1:36 pm
Posts: 625
Location: Birmingham, UK
This is a single button click :-
<b1> 59.947937 153.560954 0 0 0 1 1.01409 0 0 1 500 367.128275 -367.128275 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1
<bu> 59.947937 153.560954 0 0 0 1 1.01409 0 0 1 500 367.128275 -367.128275 1 0 0 0 0 1 0 0 0 0 1 0 -139.554122 -107.804122 -0 1 @NEW_MODEL_1

so the first three values would be :-
<b1> 59.947937 153.560954 0
<bu> 59.947937 153.560954 0


Top
 Profile  
 
 Post subject: Re: positioning view on drawing with macro
PostPosted: Tue Jun 07, 2016 12:23 pm 
Offline
Community Moderator
Community Moderator
User avatar

Joined: Tue Jun 07, 2005 4:51 pm
Posts: 3396
Location: Planet Hulk
:D :D :D
thanks Claire, as always you are a godsend

_________________
Thanks
Bruce Green

never did nothing, try always did
if i have caused you hard feelings it was not intended..but my intent is to get the most from whatever i do. :)
to all that have helped me get to where i am THANKS FOR THE KNOWLEDGE


Top
 Profile  
 
 Post subject: Re: positioning view on drawing with macro
PostPosted: Fri Jun 10, 2016 12:22 pm 
Offline
Community Moderator
Community Moderator
User avatar

Joined: Tue Jun 07, 2005 4:51 pm
Posts: 3396
Location: Planet Hulk
having problems getting it to work

CREATE VIEW
<b1> 100.503359 118.950657 0
<bu> 100.503359 118.950657 0

<b1> 98.129668 41.060996 -0
<bu> 98.129668 41.060996 -0

<b1> 92.597412 -0.984145 -0
<bu> 92.597412 -0.984145 -0

<b1> 17.358739 42.167447 0
<bu> 17.358739 42.167447 0

<b1> 272.395712 83.659362 0
<bu> 272.395712 83.659362 0


INPUT FREE (used to select and resize each window)



DRAWINGSELECT VIEWSELECTOR ON
VIEW V1
MODIFY
FLAGS
STANDARD_SCALE NO
AUTO_RESCALE YES
ACCEPT
CENTRE
SCALE TO_FIT
ACCEPT
VIEW V2
MODIFY
FLAGS
STANDARD_SCALE NO
AUTO_RESCALE YES
ACCEPT
CENTRE
SCALE TO_FIT
ACCEPT
VIEW V3
MODIFY
FLAGS
STANDARD_SCALE NO
AUTO_RESCALE YES
ACCEPT
CENTRE
SCALE TO_FIT
SHADING SHADEDWIRE
ACCEPT
VIEWSELECTOR OFF







here is the macro for window positions



CREATE VIEW
<b1> 100.503359 118.950657 0 0 0 1 1.051419 0 0 1 500 1043.559773 -1043.559773 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<bu> 100.503359 118.950657 0 0 0 1 1.051419 0 0 1 500 1043.559773 -1043.559773 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<b1> 98.129668 41.060996 -0 0 0 1 0.490495 0 0 1 500 239.695714 -239.695714 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<bu> 98.129668 41.060996 -0 0 0 1 0.490495 0 0 1 500 239.695714 -239.695714 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<b1> 92.597412 -0.984145 -0 0 0 1 0.490495 0 0 1 500 239.695714 -239.695714 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<bu> 92.597412 -0.984145 -0 0 0 1 0.490495 0 0 1 500 239.695714 -239.695714 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<b1> 17.358739 42.167447 0 0 0 1 0.490495 0 0 1 500 194.636142 -194.636142 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<bu> 17.358739 42.167447 0 0 0 1 0.490495 0 0 1 500 194.636142 -194.636142 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<b1> 272.395712 83.659362 0 0 0 1 0.490495 0 0 1 500 194.636142 -194.636142 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446
<bu> 272.395712 83.659362 0 0 0 1 0.490495 0 0 1 500 194.636142 -194.636142 1 0 0 0 0 1 0 0 0 0 1 0 -139.34497 -105.788384 -0 1 @47989_bosch_ca446

_________________
Thanks
Bruce Green

never did nothing, try always did
if i have caused you hard feelings it was not intended..but my intent is to get the most from whatever i do. :)
to all that have helped me get to where i am THANKS FOR THE KNOWLEDGE


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB