.NET

Reply
Member
NenaOlano1
Posts: 3
Registered: ‎06-14-2013
Message 1 of 5 (263 Views)

Select a modelspace drawing and assign it to a layout viewport

263 Views, 4 Replies
06-14-2013 12:17 PM

Helloo, 

 

I have three drawings in modelspace and three viewports in one layout (paperspace), I would like to select each modelspace drawing and assign it to each layout viewport. Could it be?

 

I'm using Visual Studio 2012, .NET Framework 3.5 and Csharp.

 

 

I'd appreciate any ideas.

 

Greetings from Venezuela,

Nena. 

*Expert Elite*
arcticad
Posts: 1,285
Registered: ‎06-21-2004
Message 2 of 5 (259 Views)

Re: Select a modelspace drawing and assign it to a layout viewport

06-14-2013 12:25 PM in reply to: NenaOlano1

you can't assign a model to a specific viewport. that are simply a view(windows) into the modelspace layout.

 

You can move the view to show only a specific part of that model. 

 

If you can provide a drawing showing what your trying to do it would help. 

---------------------------



(defun botsbuildbots() (botsbuildbots))
Member
NenaOlano1
Posts: 3
Registered: ‎06-14-2013
Message 3 of 5 (221 Views)

Re: Select a modelspace drawing and assign it to a layout viewport

06-17-2013 07:10 AM in reply to: arcticad

Ok, here are some pictures to better explain the problem:

 

The first "AutoCAD_BOMBA1" is the dialog box where we enter information required to make the drawings.

 

The second "AutoCAD_BOMBA2" shows the 3 "drawings" (objects) that are made according to the information provided.

 

The third "AutoCAD_BOMBA3" shows the three viewports.

 

Now, I would like to show in each viewport one modelspace drawings. Then, adjust the scales and add text and dimensions outside the viewport.


Thanks for your answer,

I would appreciate any help.

 

(Sorry if I do not use the best words or phrases to express, I do not speak very good English)

 

 

Nena.

*Expert Elite*
arcticad
Posts: 1,285
Registered: ‎06-21-2004
Message 4 of 5 (200 Views)

Re: Select a modelspace drawing and assign it to a layout viewport

06-17-2013 09:30 AM in reply to: NenaOlano1

This should help

 

http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer%27s%20Guide/index.html?url=WS1a9193...

---------------------------



(defun botsbuildbots() (botsbuildbots))
Member
NenaOlano1
Posts: 3
Registered: ‎06-14-2013
Message 5 of 5 (176 Views)

Re: Select a modelspace drawing and assign it to a layout viewport

06-18-2013 06:49 AM in reply to: arcticad

Ok, I have been reviewing the information, but I still do not find exactly what I need to do.

 

But thank you very much for your time.

 

 

If I do, I will post it here.

 

Regrets,

Nena

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.