temporary entity in vba

temporary entity in vba

Anonymous
Not applicable
357 Views
3 Replies
Message 1 of 4

temporary entity in vba

Anonymous
Not applicable
Dear Sir,

I make a line via AddLine method. But the line is always displayed.
I want to compute the geometric calculation without displaying in vba.
So, I want to make a line and modify it in the background.

How do I use any technique if it is possible?

Thank you.

--
Yokogawa Techno-Information Service Inc.
HIOKI Nobukazu / Solution Service Division
mailto:n.hioki@yti.co.jp http://www.yti.co.jp
Tel:+81-(0)47-435-3652 Fax:+81-(0)47-435-6150
0 Likes
358 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Hi,

When you use the Addline command the line is not normally drawn until you
update the screen in some way.

Code like:

Dim Pt1 (0 to 2) as Double
Dim Pt2 (0 to 2) as Double
Set oLine = ThisDrawing.ModelSpace.Addline (Pt1, Pt2)
Pt1(0) = 20
Pt1(1) = 30
Pt2(0) = 100
Pt2(1) = 20
With oLine
.end = Pt2
.Start = Pt1
.Update
End With

is perfectly viable.

--

Laurie Comerford
CADApps
www.cadapps.com.au
"HIOKI Nobukazu" wrote in message
news:4934607@discussion.autodesk.com...
Dear Sir,

I make a line via AddLine method. But the line is always displayed.
I want to compute the geometric calculation without displaying in vba.
So, I want to make a line and modify it in the background.

How do I use any technique if it is possible?

Thank you.

--
Yokogawa Techno-Information Service Inc.
HIOKI Nobukazu / Solution Service Division
mailto:n.hioki@yti.co.jp http://www.yti.co.jp
Tel:+81-(0)47-435-3652 Fax:+81-(0)47-435-6150
0 Likes
Message 3 of 4

Anonymous
Not applicable
Myline:visible = False

--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica


"HIOKI Nobukazu" wrote in message
news:4934607@discussion.autodesk.com...
Dear Sir,

I make a line via AddLine method. But the line is always displayed.
I want to compute the geometric calculation without displaying in vba.
So, I want to make a line and modify it in the background.

How do I use any technique if it is possible?

Thank you.

--
Yokogawa Techno-Information Service Inc.
HIOKI Nobukazu / Solution Service Division
mailto:n.hioki@yti.co.jp http://www.yti.co.jp
Tel:+81-(0)47-435-3652 Fax:+81-(0)47-435-6150
0 Likes
Message 4 of 4

Anonymous
Not applicable
Thanks Lauire and Jorge.
I will try it.

--
Yokogawa Techno-Information Service Inc.
HIOKI Nobukazu / Solution Service Division
mailto:n.hioki@yti.co.jp http://www.yti.co.jp
Tel:+81-(0)47-435-3652 Fax:+81-(0)47-435-6150
0 Likes