Si va a realizar una actualización de las macros, puede que tenga que llevar a cabo algunas tareas de gestión de archivos para garantizar el correcto funcionamiento de las macros en Revit.
Es importante que conozca los cambios aplicados al kit de desarrollo de software (SDK) de Revit y la información de actualización de macros aquí suministrada.
Actualización de macros de nivel de aplicación
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8.0-windows</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> <PlatformTarget>x64</PlatformTarget> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> <Optimize>False</Optimize> <DebugSymbols>True</DebugSymbols> <DebugType>Portable</DebugType> <OutputPath>..\..\Addin\</OutputPath> <AssemblyName>MacroTemplate</AssemblyName> <BaseInterMediateOutputPath>obj\</BaseInterMediateOutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <InterMediateOutputPath>obj\Debug</InterMediateOutputPath> <Deterministic>false</Deterministic> <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> <GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> <GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> <GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> </PropertyGroup> <ItemGroup> <Reference Include="..\..\..\..\..\RevitAPI.dll"> <Private>False</Private> </Reference> <Reference Include="..\..\..\..\..\RevitAPIUI.dll"> <Private>False</Private> </Reference> </ItemGroup> <Target Name="PreBuild" BeforeTargets="PreBuildEvent"> <Exec Command="del $(OutputPath)\*.dll" /> </Target> </Project>
Actualización de macros de nivel de documento