Hidden Line problem
Hidden Line problem
(OP)
Dear all.
I have a small problem.. After creating the views I have to change the hidden line type to continuous. It takes too much time to do so. Is there any option by which i will get the hidden line type as continuous at tje time of view creation. Which will save my time,
Regards
Amit
I have a small problem.. After creating the views I have to change the hidden line type to continuous. It takes too much time to do so. Is there any option by which i will get the hidden line type as continuous at tje time of view creation. Which will save my time,
Regards
Amit





RE: Hidden Line problem
u can change linetype by scripting as follows:
selection1.search "Name = Line.1" 'for example,u can search and select line depending on ur requirement'
set vispropset1 = selection1.visproperties
vispropset1.setreallinetype 1,1
selection1.clear()
Hope it works for u
bye
Naveen
RE: Hidden Line problem
thanks for the help but my requirement is some what different. I want to create the hidden lines with font 1, Currently I am able to change the line type bye Ctrl+f and line type as 3 and then convert them to 1 but it takes too much time so i need a short cut which will create the lines in 1 font,,,
any ways thanks for help
Regards
Amit
RE: Hidden Line problem
Set Fact2D = drawingview1.Factory2D
set line2D = Fact2D.createline(X coordinate of 1st pt,y cor of 1st point,x coord of 2nd pt,y coord of 2nd pt)
set line2D = Fact2D.createline(10,10,20,20)
line2D.Name = "Test"
set selection1 = drawingDocument1.selection
selection1.search "Name = Test"
set vispropset1 = selection1.visproperties
vispropset1.setreallinetype 3,1
I hope is this one u looking for,
bye
Naveen