×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Hidden Line problem

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

RE: Hidden Line problem

hi Amit,
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

(OP)
hi naveen

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

hey Amit,u can also createline with scripting and u can change type of it,

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources