Design Review

Reply
Active Contributor
vgottipa
Posts: 31
Registered: ‎02-10-2011
Message 1 of 4 (129 Views)

Fidelity Setting

129 Views, 3 Replies
04-11-2012 09:23 AM

Does anyone know if it is possible to set fidelity value from the API. Thank You.

Employee
Posts: 338
Registered: ‎03-05-2008
Message 2 of 4 (124 Views)

Re: Fidelity Setting

04-11-2012 07:02 PM in reply to: vgottipa

Thank you for your question.

 

Its value can not be set from ADR API.

 

However, this value was recorded in the windows registry. So it's still possible for you to set this value programmatically. The DWORD value "Fidelity" locates in:

    HKEY_CURRENT_USER\Software\AppDataLow\Software\Au​todesk\Design Review\Preferences\User Interface

or

    HKEY_CURRENT_USER\Software\Autodesk\Design Review\Preferences\User Interface

 

Any further question please let me know.



Herbert He
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Active Contributor
vgottipa
Posts: 31
Registered: ‎02-10-2011
Message 3 of 4 (120 Views)

Re: Fidelity Setting

04-12-2012 07:06 AM in reply to: vgottipa

Thanks much for pointing me to registry values. There are a host of other properties I would like to use there.

Active Contributor
vgottipa
Posts: 31
Registered: ‎02-10-2011
Message 4 of 4 (118 Views)

Re: Fidelity Setting

04-12-2012 07:40 AM in reply to: herbert.he

I am successfully able to change the setting in the registry. However when the ActiveX control loads it is not using the new registry value. Do you know why this may be happening. Thanks again for your help.

 

Dim regPath As String = "HKEY_CURRENT_USER\Software\AppDataLow\Software\Autodesk\Design Review\Preferences\User Interface"


Dim fidelityVal As String = ""


Try
fidelityVal = Registry.GetValue(regPath, "Fidelity", "_NONE")
Catch ex As Exception

logFile.WriteLine(ex.Message)

End Try


If fidelityVal = "_NONE" Or fidelityVal = "" Then
regPath = "HKEY_CURRENT_USER\Software\Autodesk\Design Review\Preferences\User Interface"

Try
fidelityVal = Registry.GetValue(regPath, "Fidelity", "_NONE")
Catch ex As Exception

logFile.WriteLine(ex.Message)

End Try

 

End If

 

If Not fidelityVal = "_NONE" And Not fidelityVal = "" Then
Try
Registry.SetValue(regPath, "Fidelity", "20")
Catch ex As Exception

logFile.WriteLine(ex.Message)

End Try
End If

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 interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

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

Ask the Community