Design Review

Reply
Member
yyjpz2007
Posts: 4
Registered: ‎08-06-2012
Message 1 of 2 (587 Views)

how to custom the Design Review ActionX ?

587 Views, 1 Replies
08-07-2012 07:20 AM

I   can view the dwg on website with Design Review ActionX ?

but  i  want to  custom  the  tool,for example  i  wan't detelte  the print tool.

how  to  do?????

Member
rocket4
Posts: 5
Registered: ‎10-22-2012
Message 2 of 2 (446 Views)

Re: how to custom the Design Review ActionX ?

10-23-2012 04:52 AM in reply to: yyjpz2007

example (C#):

AdCommon.IAdCollection Commands = (AdCommon.IAdCollection)_CompositeViewer.Commands;
int Idx = 1;
int count = Commands.Count;
foreach (ECompositeViewer.IAdCommand Command in Commands)
{

    if (Commands.get_ItemName(Idx) == "RIBBONBAR")
   {

//this bar contains standard tools. 
       Command.Visible = true;
       Command.Toggled = true;
       Command.Enabled = true;
   }


 if (Commands.get_ItemName(Idx) =="PRINT")
  {

   //usually we don't need  this step except we want to hide this tool.
    Command.Enabled = true;
    Command.Visible = true;
  }
Idx++;
}

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community