Jump to content
Developer Wiki and Function Reference Links ×

Round Wall Script????


myf

Recommended Posts

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

Link to comment
  • 2 weeks later...

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.

Link to comment
  • 2 weeks later...

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...