myf Posted May 21, 2007 Share Posted May 21, 2007 Hello, I'm a newbie to Vectorscript and I have a few "first user"-questions. Perhaps You can help me understand. I have a layout with lots of round walls all with center 0,0 in different wall styles. So, how the script looks like for creating the wall with predefined center? And is it possible to make scripts with shortcut for the different wall styles - and the center 0,0 (for example shortcut ALT+10 for the wall with wall style "GK 10cm") Thank you myf Quote Link to comment
Charles Chandler Posted May 28, 2007 Share Posted May 28, 2007 Are you working in version 12? (All of this changed from 11 to 12.) Quote Link to comment
myf Posted May 30, 2007 Author Share Posted May 30, 2007 Hi Charles, yes, I'm working in 12.5 Quote Link to comment
Charles Chandler Posted June 11, 2007 Share Posted June 11, 2007 Since you can change wall styles with a pop-up menu in the mode bar now, scripts for changing wall styles aren't worth much anymore. Anyway, this is all you have to do: IF SetWallPrefStyle('150mm Generic Wall') THEN Message('Wall style set to 150mm Generic Wall.'); Just replace '150mm Generic Wall' with your favorite wall style. The call for creating round walls is: RoundWall(centerPtX, centerPtY, startPtX, startPtY, endPtX, endPtY); Sounds like you want to replace centerPtX and centerPtY with 0. Don't know what you want for the start and end points. Quote Link to comment
myf Posted June 21, 2007 Author Share Posted June 21, 2007 Hey Charles, first thanks, I'd like to have the center x and y as 0 and to pick the start- and endpoints like in the normal round wall function. It's cause I have a quite big drawing and a hundreds of wals with center 0,0 At the moment I have not much time to test it (other projects with rectangular layouts - fortunately. I will tell you when i did it. Bye Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.