Files
RevitSdkSamples/snapshot/2008/SDK/APIMultiUser.doc
T

57 lines
30 KiB
Plaintext
Raw Normal View History

2024-12-12 09:51:40 +01:00
ÐÏࡱá>þÿ 8:þÿÿÿ7ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿì¥Áa ð¿”jbjb‡t‡t íí”
ÿÿÿÿÿÿˆþþþþþþþ    & çvF F F F F F F F ŠŒŒŒŒŒŒ]R¯®ŒþF F F F F Œ¸
þþF F ¡¸
¸
¸
F DþF þF Џ
þþþþF Џ
¸
6àþþŠ: Y€3À Š
.抷0çˆ] ¸
] 8Џ
þDVÄVAutodesk Revit Building 9 / Structure 3 API Tech Note
Working with User and Administrative privileges and the Autodesk Revit API
Overview
As of Autodesk Revit Building 9 / Structure 3 Beta 2 the Revit API will permit users with less than Power User status to execute external commands. This document will explain how system administrators can set Autodesk Revit to support this behaviour and also how users will be notified if the system administrator has not set such support.
Current Problem
When Autodesk Revit is run by a user with insufficient registry privileges and external commands are present, the application will fail to run correctly.
Reason
To keep the registry clean, Autodesk Revit only populates the registry with API related details on start up of the main application. It also unregisters and removes these entries on exit thus keeping the registry as clean as possible. This permits multiple versions of Autodesk Revit to run on any given machine with out issue.
Solutions & Workarounds
There are two known solutions to this problem at this time:
Increase the privileges of the user such that they are a Power User or higher.
Have a system administrator set Autodesk Revit not to remove the registry information at the end of their session. Details of this option are given below:
Multi User Revit API Pre Setup
While the system administrator is setting the machine for a standard user use, the steps below can be taken to ensure that the external commands will work successfully without the standard user’s intervention:
System Administrator
Install Autodesk Revit.
Set the file access rights to the Autodesk Revit installed directory and its sub directories and file to Full Control for all users. (This is standard procedure for Autodesk Revit multi user installations.)
Edit the Revit.ini file and add the following lines: [API] UnregisterOnExit=0
Install the 3rd Party API based applications and any associated links.
Run Autodesk Revit and execute the external command to ensure that it is working.
At this point the sy
{
 5   4 
Q
˜
ê
ë
Š«úõðîðîðîðîæáÜî×ÏÏÏÏÏÊÊÜgdÊI±
& FgdÊI±gdÊI±gdÊI±
& F
& FgdÊI±gdÊI±gdÊI±gdÊI±”þ«��'™Óè
z&“”úõíííõííííú
& FgdÊI±gdÊI±gdÊI± °Ð/ °à=!°"°#� $� %°¥8@ñÿ8 NormalCJmH sH tH T@T ùR¥ Heading 1$¤ð¤<@&5�CJ KH OJQJaJ R@R ùR¥ Heading 2$¤ð¤<@&5�6�CJOJQJaJP@P ùR¥ Heading 3$¤ð¤<@&5�CJOJQJaJH@H ùR¥ Heading 4$¤ð¤<@& 5�CJaJH@H ùR¥ Heading 5
¤ð¤<@&5�6�CJaJDA@òÿ¡D Default Paragraph FontZióÿ³Z  Table Normal :V ö4Ö
l4Öaö _H(k@ôÿÁ(No List D™òD aY Balloon TextCJOJQJaJ”
ÿÿÿÿ6�ŠÞîˆ�Øð,{54Q˜ê늫� � ' ™ Ó è
z &
“
–
0€€Ø °€@0€Ø`³€(@0€6Ø6`³€˜@0€�Ø�`³€(@0€6Ø6`³€˜@0€ÞØÞ`³€(@0€6Ø6`³€˜@0€ˆ؈`³€(@0€6Ø6`³€˜@0€ØØØ`³€˜@ 0€ØØØ`³€˜@ 0€ØØØ`³€8@0€ØØØ`³€˜@0€Ø`³€H@0€ØÀ›€˜@ 0€Ø`³€˜@ 0€ØÀ›€˜@ 0€Ø0¤€˜@ 0€Ø0¤€˜@ 0€ØpÅ€˜@0€ØÀÍ€˜@0€ØÀÍ€8@0€ØØØÀÍ€˜@0€ŠØð¹H@0€Š؃€Á€˜@ 0€� Ø� pÌ€˜@ 0€� Øð¹˜@ 0€� Ø� 0¤€H@0€Š؃ÀÍ€˜@ 0€Ó ØÓ pÅ€˜@ 0€Ó ØÓ 0¤€˜@ 0€Ó ØÓ 0¤€˜@ 0€Ó ØÓ 0¤€˜@0€€Ø�°ž€6�ŠÞîˆ�Øð,{54Q˜ëŠ«� ' è
z &
“
–
@0€€Ø€Á@0€Ø€Á(@0€6Ø€Á˜@0€�Ø€Á(@0€6Ø€Á˜@0€ÞØ€Á(@0€6Ø€Á˜@0€ˆØ€Á€(@0€6Ø€Á˜@0€ØØ€Á˜@ 0€ØØ€Á˜@ 0€ØØ€Á8@0€ØØ€Á˜@0€Ø€ÁJ@0€Ø€Á˜@ 0€Ø€Áš@ 0€Ø€Áš@ 0€Ø€Áš@ 0€Ø€Áš@ 0€Ø€Áš@0€ØÀÍ8@0€ØØÀÍš@0€JØÀÍš@ 0€JØÀÍš@ 0€JØÀÍš@ 0€JØÀÍš@ 0€JØÀÍš@ 0€JØÀÍš@ 0€JØÀÍ@08�ÿ¿Þ”