Design Review
Welcome to Autodesk’s Design Review Forums. Share your knowledge, ask questions, and explore popular Design Review topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to custom the Design Review ActionX ?

1 REPLY 1
Reply
Message 1 of 2
yyjpz2007
763 Views, 1 Reply

how to custom the Design Review ActionX ?

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?????

1 REPLY 1
Message 2 of 2
rocket4
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++;
}

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report