BillyGrey
2005-12-08, 09:20 PM
Anyone know of a code line I could add to a pat file to get it to rotate to the right or to the left 45 degrees and represent likewise in a filled region?
I'm not really interested in model pat's. at this point, unless I strike out here.
Thanks In Advance,
Bill
LRaiz
2005-12-08, 09:39 PM
Each pattern is started by a line indicating its name followed by an optional set of lines indicating pattern type (drafting/model), then a set of lines where each one describes a line-family. For example here is a description of Aluminum(cut) pattern which consists of 3 line-families.
*Aluminum, Aluminum (cut)
;%TYPE=DRAFTING
45, 0, 0, 0, 0.25
45, 0.0625, 0, 0.25, 0.25
45, -0.0625, 0, 0.25, 0.25
The first number in last 3 lines defines angles (in degrees). In order to rotate this pattern 45 degrees one would change each 45 to ether 0 or 90 depending if you want clockwise or counterclockwise rotation.
revit.pat file installed in Data folder of you installation contains a pretty good description of .pat file syntax.
HTH
BillyGrey
2005-12-08, 10:43 PM
Thank you very much Leonid, this will help greatly.
благодарность,
Bill
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.