Jump to content

Recommended Posts

Posted

Hi,

 

Lately I created a personal menu using CUI command with a CREATE VIEW and INSERT VIEWS. The macro for the commands are respectively ^C^Cview and ^C^C_viewports. This help me to quickly create views and then use and lay those views in paper space. I have also create one alias namely vv for the viewports command, which combined with v alias does help me a lots.

 

However, I do have a question in view of the fact that the macro language only works with text-based commands. How am I going to extend this to the dialog box say that when I click CREATE VIEW, the view manager do appear but I would be happy to know if there is a way for the NEW button to be automatically click, bringing us to the "New View" dialog box, even entering the define window.

 

The same for the custom INSERT VIEW which I want to do the additional task of always making the "New Viewports" tab in the focus.

 

An even more powerful automation would be the ability for a macro or program to compare the page layout name and find corresponding views carrying similar name say I am in front elevation and the page layout name is simply front. The program seach among the views and find "front elevation" and "table_front" and bring those two files for the user to choose along with the option that he/she can display the other views. I know that is not basic macro language, but I would like to know if that's a possibility, if there's somebody who has configured acad to such an extent...

 

Thank You very much.

 

Sincerely Yours,

 

T. Nicolas MARIE :):):)

Posted
Hi,

 

The macro for the commands are respectively ^C^Cview and ^C^C_viewports. This help me to quickly create views and then use and lay those views in paper space.

 

How am I going to extend this to the dialog box say that when I click CREATE VIEW, the view manager do appear but I would be happy to know if there is a way for the NEW button to be automatically click, bringing us to the "New View" dialog box, even entering the define window.

 

 

Try useing the command line version by adding '-' in front of the command. ie '-VIEW'. Make a not of your answers to the prompts and build these into your macro.

 

An even more powerful automation would be the ability for a macro or program to compare the page layout name and find corresponding views carrying similar name say I am in front elevation and the page layout name is simply front. The program seach among the views and find "front elevation" and "table_front" and bring those two files for the user to choose along with the option that he/she can display the other views. I know that is not basic macro language, but I would like to know if that's a possibility, if there's somebody who has configured acad to such an extent...

 

 

You are right, this is getting beyond macro language. I think that you should look into the sheet set manager!

 

- or post something on a programming formum.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...