Hi,
I am using Autodesk Design Review 2011 with Javascript for embedding the DWF file in Web Page.
I want to color the Objects based on thier property name and value. Is it possible to do so? Below is my code.
varAllObjects = ADViewer.ECompositeViewer.Section.Content.Objects(0);
for(iObjects = 1; (iObjects <= AllObjects.Count); iObjects++)
{
var Props = AllObjects(iObjects).Properties;
var SectionObject = AllObjects(iObjects);
for(iProps = 1; (iProps <= Props.Count); iProps++)
{
varprop = Props(iProps);
PropName += prop.Name +
':';
PropName +=
'-' + prop.Value + ';';
}
}
I could only find objecthighlightcolor property that would set all the objects. I want to set the object colors based on thier property values.
My second question is since I am using ADR2011 do I need to install ADR2011 on all client machines for them to run the Webpage.
Thanks
Thank you for your question.
ADR currently does not support to color objects.
Yes, you need to install one version of ADR on all client machines for them to run the Webpage. By the way, you can download and install ADR 2012 for free from here.
Please let me know if I can be of any further assistance.
Thanks for replying.
This will defeat the purpose of our application. Our application requirement is to load DWF files in a Web Page and manipulate the objects while loading -- such has coloring. Once clicked on the object it should show some description related to that object (Basically floor plans with rooms).
We want to make the application available through Web. Client will insatll only DWF Viewer.
We are using .Net 3.5 Technology and ASP.Net for Web Applications. I know that there is lot of support for .Net via Interop
Please if you can suggest any other tool that meets our requirement.
-Irfan
Can't find what you're looking for? Ask the community or share your knowledge.