Saturday, 4 May 2013

DETAIL SYMBOLIC LINE based on detail item line based template

Creating a line as a DETAIL line which will follow the path of a series of picks like this:

It can be any sort of symbol or detail object following the path of a line based on the Detail line Line Based template detail. The object is a nested family and arrayed along the line so that the array is driven by a formula relating to the dragged line length
Should work with all sorts of nested symbols provided params in the nested part relate to params in the main part.











Starting with the Metric Detail Item line based.rft set ref planes for the line width W (equality centred), object length lx and dash length d. These will be later given equals params wit the nested symbol




 Open a new Metric Detail.rft template and set up the same ref planes with w equality centred about the horiz plane then l and d as before
Give l a formula so that it is driven by w (in this case x 7) and d * 0.7 so that d remains in 
proportion.











Adding parallel lines

Lock to lines to the ref planes as here (align>lock) and also lock to the vertical ref planes by align>tab until line blob appears then lock
Add a filled region again with the sketch outline locked to ref planes
Finished



















Load intoorigin (template ref plane intersection) the first rfa file and just insert to the











Select the inserted object then type props (properties panel top left) and for each param select the RH side button (= function) and make w, lx and d = to the respective params in the main rft file (ie W, l and d). The nested object params will then be driven by the line based main file.






 Pick the symbol and array x 2 using move to 2nd option and picking the end point of the first as the insert. Select the array, the array number displays, pick this then from label on the options bar <new parameter> and name this something like num.- make to set it to instance. NOTE This didnt quite work - added a second vertical ref  plane with dist param lx then align-lock the RH end of the arrayed object which fixed this.





Then finally in Family Types next to the default Num param enter a formula Length / lx  and the line should adjust to the length of the area. Be careful with case in formulas - its rigid. That's it. It should array when inserted according to the picked length and then should drag. Can be a bit jerky as there may be allot of calculation going on. Also IT IS a 2D detail object so probably wont insert as a model object. Works OK on section views, callout details and probably plane views. Its view specific and wont display out of views in the model

No comments:

Post a Comment