Viewports import
Moderators: SDS, support, admin
Viewports import
Hello,
Is it possible to get a list of the entities that we can see in a view port ? And how .
the goal is to draw the paper space as normal layout !
thanks!
Is it possible to get a list of the entities that we can see in a view port ? And how .
the goal is to draw the paper space as normal layout !
thanks!
Hello!
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Is it possible to get a list of the entities that we can see in a view port ? And how .<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
It is known that viewport views entities of Model_Space (this is Layout named "Model") with predefined view point, direction vector (and some other less important parameters). That is why we make respective coordinate's transformation matrix for viewing entities inside of VIEWPORT. Viewport with rectangle border allows determining entities' visibility basing on viewport's Box property. The same way entities' visibility is determined in the "window" in DXFImage.pas -> TsgDXFImage.DrawEntity. Please examine this procodure.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">the goal is to draw the paper space as normal layout !<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
If possible please describe your task in detail.
Sergey.
Please post questions to the forum or write to support@cadsofttools.com
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">Is it possible to get a list of the entities that we can see in a view port ? And how .<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
It is known that viewport views entities of Model_Space (this is Layout named "Model") with predefined view point, direction vector (and some other less important parameters). That is why we make respective coordinate's transformation matrix for viewing entities inside of VIEWPORT. Viewport with rectangle border allows determining entities' visibility basing on viewport's Box property. The same way entities' visibility is determined in the "window" in DXFImage.pas -> TsgDXFImage.DrawEntity. Please examine this procodure.
<blockquote id="quote"><font size="2" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">the goal is to draw the paper space as normal layout !<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
If possible please describe your task in detail.
Sergey.
Please post questions to the forum or write to support@cadsofttools.com