.NET

.NET

Reply
Member
3 Posts
0 Kudos
Registered: ‎06-14-2013
Post 1 of 5

Select a modelspace drawing and assign it to a layout viewport

274 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*
1,286 Posts
37 Kudos
Registered: ‎06-21-2004
Post 2 of 5

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
3 Posts
0 Kudos
Registered: ‎06-14-2013
Post 3 of 5

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*
1,286 Posts
37 Kudos
Registered: ‎06-21-2004
Post 4 of 5

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
3 Posts
0 Kudos
Registered: ‎06-14-2013
Post 5 of 5

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
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!