Saturday, November 21, 2009
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

AutoLISP AutoLISP or Visual LISP, learn both here!

Reply
 
Thread Tools Display Modes
Old 2004-07-30, 03:27 PM   #1
mathew.worland
Moderator
 
mathew.worland's Avatar
 
Join Date: 2002-12
Location: Denver, CO USA
Posts: 150
mathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright future
Question Polygonal Viewports

Hello Everyone,

I am trying to change the layer of the viewport, which I have done, but I am stuck on polygonal viewports. Is there an easy way to select both the viewport and polyline that is associated with it? I have looked through the properties of both and nothing has jumped out at me.

Thanks,
Matt
mathew.worland is offline   Reply With Quote
Old 2004-07-30, 06:11 PM   #2
peter
Vice President / Director
 
peter's Avatar
 
Join Date: 2000-09
Location: Kenosha Wisconsin
Posts: 375
peter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the starspeter is shooting for the stars
Default RE: Polygonal Viewports

If you select the viewport and get its entity name entViewPort

(cdr (assoc 340 (reverse (entget entViewport))))

will return the corrusponding polyline that goes with it.

The 330 code in the polyline points back to the viewport

(cdr (assoc 340 (reverse (entget entPolyline))))

Peter Jamtgaard
peter is offline   Reply With Quote
Old 2004-07-30, 07:12 PM   #3
mathew.worland
Moderator
 
mathew.worland's Avatar
 
Join Date: 2002-12
Location: Denver, CO USA
Posts: 150
mathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright futuremathew.worland has a bright future
Thumbs up RE: Polygonal Viewports

Thank you Peter,

This has been bothering me for quite a while now.

Matt
mathew.worland is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
View Titles and Rotated Viewports Cathy Hadley Revit Architecture - General 12 2007-10-06 11:57 PM
Different scales for lines in different viewports slaidlaw AutoCAD General 17 2005-04-28 07:05 PM
Locking Viewports Cad4men AutoLISP 3 2004-07-28 02:30 PM
overlapping viewports for presentation Steve Jager Revit Architecture - General 1 2004-04-01 04:47 PM
Resizing Viewports eter Revit Architecture - General 5 2003-09-01 07:40 PM


All times are GMT +1. The time now is 11:22 AM.