AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF...

12
AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM release notes. AutoCAD Architecture 2013 RTM ................................................................................................................. 1 OMF 2013 SDK RTM release notes. .............................................................................................................. 1 General...................................................................................................................................................... 2 API changes ............................................................................................................................................... 2 Sprinkler Sample ....................................................................................................................................... 2 Miscellaneous ........................................................................................................................................... 2 Dev Environment Setting ...................................................................................................................... 2 SDK Reorganization ................................................................................................................................... 3

Transcript of AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF...

Page 1: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AutoCAD Architecture 2013 RTM

OMF 2013 SDK RTM release notes.

AutoCAD Architecture 2013 RTM ................................................................................................................. 1

OMF 2013 SDK RTM release notes. .............................................................................................................. 1

General ...................................................................................................................................................... 2

API changes ............................................................................................................................................... 2

Sprinkler Sample ....................................................................................................................................... 2

Miscellaneous ........................................................................................................................................... 2

Dev Environment Setting ...................................................................................................................... 2

SDK Reorganization ................................................................................................................................... 3

Page 2: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

General Visual Studio 2010 with SP1 and security update

(http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=294de390-3c94-49fb-

a014-9a38580e64cb) is recommended.

See also OMF 2012 Migration Guide if you have not ported to AutoCAD Architecture 2012 yet.

The OMF SDK classes and the Sprinkler sample have been updated to reflect core ObjectARX changes.

See ObjectARX 2013 porting information for details.

API changes There were minor changes in OMF 2013 API. OMF 2013.chm will be updated soon.

Sprinkler Sample The sprinkler sample has been updated to run in the AutoCAD Architecture 2013 software. You will also

need the AutoCAD 2013 ObjectARX SDK.

Miscellaneous

Dev Environment Setting

There is a note for ADN, external products need to update their projects according to the information as

follow:

1. The resource modules are now ended with “Res” instead of “Enu”.

2. Please set the PROCESSORDIR to “x64” in RegSprinkler.bat file to make it use the correct AecReg.exe to register.

Changes on the deployment of the resource modules:

ACA 2013 uses a new mechanism to support multi-languages, so 3rd-parties developers need to deploy the resource modules (DLL files) to language specific folder. Two actions are required for your migration:

1. Update your resource modules’ name ended with “Res” for all language versions. For example: rename OmfSprinklerEnu.dll to OmfSprinklerRes.dll 2. Place the resource modules to language specific subfolders underneath the folder that

contains the corresponding ARX/DBX files. For instance, English resource modules should be

Page 3: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

placed under the “en-US” folder and German resource files should be placed under the “de-DE”

folder. With regard to the Sprinkler sample in OMF SDK, after build the solution, the resource

files OmfSprinklerRes.dll, OmfUiSprinklerRes.dll, as well as other resource modules need to be

copied to the en-US subfolder underneath the folder which ARX/DBX module located (like

\\OMF_SDK\2013 RTM\Samples\sprinkler\bin\en-US\).

SDK Reorganization General

This section describes how OMF components reorganized.

1. AecBase now contains AecScheduleData and most part of AecBaseEx(except Mass Element) 2. AecBaseEx partially moved to AecBase (except Mass Element related functionalities) 3. AecScheduleData moved to AecBase 4. AecProjectBase added AecPropertyDefProject class of AecScheduleData 5. AecUiBase changed its name to AecCore 6. AecGuiBase moved in-canvas UI to AecCore 7. AecStructureBase moved to ArchBase 8. ArchBase now contains AecStructureBase and AecArchDACHBase 9. AecArchDACHBase moved to ArchBase

Headers

1. Change include path of following header files from AecScheduleData to AecBase AecCompSpec.h AecCompSpecFactory.h AecDataSourceIterator.h AecDatabaseDataAecScheduleData.h AecDbAnchorExtendedTagToEnt.h AecDbAnchorTagToEnt.h AecDbDispRepAnchorExtendedTagToEnt.h AecDbDispRepAnchorTagToEnt.h AecDbPropertySet.h AecDbPropertySetDef.h AecDbScheduleDataFormat.h AecDictPropertySetDef.h AecDictScheduleDataFormat.h AecDisplayThemeScheduleDataRule.h AecFormulaData.h AecFormulaDataProp.h AecFormulaDataQuantity.h AecFormulaDataResult.h AecLocatedPropertySets.h AecProperty.h

Page 4: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecPropertyDef.h AecPropertyDefAnchor.h AecPropertyDefClassification.h AecPropertyDefFormula.h AecPropertyDefGraphic.h AecPropertyDefLocation.h AecPropertyDefLocationFinder.h AecPropertyDefLocationManager.h AecPropertyDefMaterial.h AecQuery.h AecQueryFactory.h AecQueryFunctionMap.h AecScheduleDataProperty.h AecScheduleDataPropertyCollector.h AecScheduleDataPropertyCollectorGroup.h AecScheduleDataPropertyCollectorParam.h AecScheduleDataServices.h AecScheduleDataUtils.h

2. Change include path of following header files from AecBaseEx to AecBase

AecAnchorToCurveX.h AecAnchorToCurveY.h AecAnchorToCurveZ.h AecCommonResources.h AecCommonResourcesEnum.h AecDbAnchorEntToCurve.h AecDbAnchorEntToEnt.h AecDbAnchorEntToGridAssembly.h AecDbAnchorEntToLayoutCell.h AecDbAnchorEntToLayoutNode.h AecDbAnchorEntToLayoutVolume.h AecDbAnchorLeadEntToNode.h AecDbDispPropsPolygonModel.h AecDbDispPropsPolygonTrueColour.h AecDbDispRepAnchorEntToNode.h AecDbDispRepPolygon.h AecDbDispRepPolygonModel.h AecDbDispRepPolygonTrueColour.h AecDbGridAssembly.h AecDbGridAssemblyStyle.h AecDbPolygon.h AecDbPolygonStyle.h AecDictPolygonStyle.h AecDynProp.h AecDynPropData.h AecDynPropEntries.h AecDynPropUtils.h AecEntityInterference.h

Page 5: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecGaComponentSet.h AecGaInterference.h AecGeCustomAssemblyDef.h AecGeNestedGridDivision.h AecGeNestedGridDivisionDivideBy.h AecGeNestedGridDivisionManual.h AecGeNestedGridDivisionManualEdgeDef.h AecGeNestedGridDivisionRepeat.h AecGeNestedGridEdgeDef.h AecGeNestedGridInfillDef.h AecGeNgCellMergeData.h AecGeNgCellOverride.h AecGeNgDivisionOverride.h AecGeNgEdgeOverride.h AecGeNgEdgeProfileOverride.h AecGridAssembly.h AecGridAssemblyCell.h AecGridAssemblyEdge.h AecGridAssemblyEditableGridData.h AecGridAssemblyGridEditorUtils.h AecIndexSpecifierBoundaryEdge.h AecInterferenceEntityData.h AecInterferenceEntityProfileData.h

3. Change include path of following header file from AecScheduleData to AecProjectBase AecPropertyDefProject.h

4. Change include path of following header files from AecUiBase to AecCore

AecAcadSelSet.h AecAppEditorServicesAcad.h AecBaseDocumentReactor.h AecBaseEditorReactor.h AecBaseLongTransactionReactor.h AecCloningHelper.h AecConstraintAddingContext.h AecDisplayThemeUiEditorManager.h AecDocumentData.h AecDocumentDataMgr.h AecDocumentDataMgrDictionary.h AecEdRolloverReactor.h AecHelperFunctions.h AecKeywordArray.h AecLayerKeyAPI.h AecMenuWeight.h AecStyleRegister.h AecUiCmd.h AecUiCmdMenuImages.h AecUiCmdMgr.h

Page 6: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecUiDlgWarning.h AecUiDraftingTools.h AecUiInplaceEditor.h AecUiMapStyleToCmdMgr.h AecUiPr.h AecUiPrAngle.h AecUiPrAngleDef.h AecUiPrBase.h AecUiPrCorner.h AecUiPrDist.h AecUiPrDistDef.h AecUiPrDouble.h AecUiPrDoubleDef.h AecUiPrEntity.h AecUiPrEntitySet.h AecUiPrEntitySetLayerWildcard.h AecUiPrEntitySetSingle.h AecUiPrEntitySetSingleLayerWildcard.h AecUiPrInt.h AecUiPrIntDef.h AecUiPrKeyWord.h AecUiPrKeyWordDef.h AecUiPrNestedEntity.h AecUiPrNestedEntitySet.h AecUiPrPoint.h AecUiPrString.h AecUiPrStringDef.h AecUiPrSubentity.h AecUiPrVariableEntitySet.h AecuUtils.h

5. Change include path of following header files from AecGuiBase to AecCore AecEditDimensionAngle.h AecEditDimensionLength.h AecEditDimensionLengthRotated.h AecEntityInspectorBase.h AecEntityInspectorMgr.h AecGripAdditionalGraphicsLocationStandardMarker.h AecGripConstrainLinearCurvesToPlane.h AecGripConstrainToAcDbCurve.h AecGripConstrainToAcDbCurveSegment.h AecGripConstrainToBody.h AecGripConstrainToCircle.h AecGripConstrainToCircleSegment.h AecGripConstrainToLine.h AecGripConstrainToLineRay.h AecGripConstrainToLineRayByValues.h AecGripConstrainToLineSegment.h

Page 7: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecGripConstrainToLineSegmentByValues.h AecGripConstrainToPlane.h AecGripConstrainToPlaneLineCircle.h AecGripConstrainToPlaneLineLine.h AecGripConstrainToPolyline.h AecGripConstrainToRadialRay.h AecGripConstrainToSpacePlaneLineLine.h AecGripConstraintCursorBased.h AecGripDimensionsAligned2.h AecGripDimensionsAligned3.h AecGripDimensionsAlignedDelta.h AecGripDimensionsAngle.h AecGripDimensionsAngleDelta.h AecGripDimensionsAngularDelta.h AecGripDimensionsAngularDeltaRiseRun.h AecGripDimensionsEdge.h AecGripDimensionsGridLengthString.h AecGripDimensionsGridLengthStringDivideBy.h AecGripDimensionsGridLengthStringManual.h AecGripDimensionsGridLengthStringRepeat.h AecGripDimensionsLength.h AecGripDimensionsLengthDelta.h AecGripDimensionsLengthDeltaProjected.h AecGripDimensionsLengthScale.h AecGripDimensionsLengthWidth.h AecGripDimensionsLengthWidthHeight.h AecGripDimensionsPosition.h AecGripDimensionsRadialDelta.h AecGripDimensionsVertex.h AecGripDimensionsVertexPlane.h AecGripEditModeMessageHandler.h AecGripEditModeSwitch.h AecGripFactoryProfile.h AecGripLocation.h AecGripProfile.h AecGripProfileEdge.h AecGripProfileTemplates.h AecGripProfileVertex.h AecGsDrawable.h AecGsUtils.h AecStreamGs.h AecStreamHeidiHlr.h AecUiPromptCreateEx.h AecUiPromptCreateExImp.h AecUiPromptCreateStyleBasedEx.h AecUiPromptCreateStyleBasedExImp.h AecUiXrefFileLock.h AecWinMessaging.h

Page 8: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecWorkingPlaneUCS.h

6. Change include path of following header files from AecUiBase to AecGuiBase AecSingleFrame.h AecSingleFrameManager.h

7. Change include path of following header files from AecUiBase to AecApp AecAppArx.h

8. Change include path of following header files from AecStructureBase to ArchBase AecCustomMemberBlock.h AecDbAnchorBubToColumnGrid.h AecDbAssocColumnGridPersSubentIdPE.h AecDbColumnGrid.h AecDbDispRepAnchorBubToGrid.h AecDbDispRepAnchorBubToGridModel.h AecDbDispRepAnchorBubToGridRcp.h AecDbDispRepColumnGrid.h AecDbDispRepColumnGridModel.h AecDbDispRepColumnGridRcp.h AecEnhancedColumnGridSegmentSetting.h AecEnhancedColumnGridSetting.h AecEnhancedColumnGridUtils.h AecStructural.h AecStructureBaseServices.h AecsConnectionData.h AecsDbAssocMemberPersSubentIdPE.h AecsDbDispPropsMember.h AecsDbDispPropsMemberLogical.h AecsDbDispPropsMemberPlan.h AecsDbDispPropsMemberPlanSketch.h AecsDbDispPropsMemberProjected.h AecsDbDispRepMember.h AecsDbDispRepMemberElevationDesign.h AecsDbDispRepMemberElevationDetail.h AecsDbDispRepMemberLogical.h AecsDbDispRepMemberModel.h AecsDbDispRepMemberModelDesign.h AecsDbDispRepMemberModelDetail.h AecsDbDispRepMemberPlan.h AecsDbDispRepMemberPlanDesign.h AecsDbDispRepMemberPlanDetail.h AecsDbDispRepMemberPlanSketch.h AecsDbDispRepMemberProjected.h AecsDbDispRepMemberSectionDesign.h AecsDbDispRepMemberSectionDetail.h AecsDbMember.h AecsDbMemberBodyModifierEditor.h

Page 9: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecsDbMemberNodeShape.h AecsDbMemberStyle.h AecsDbVarsStructureBase.h AecsDictMemberNodeShape.h AecsDictMemberStyle.h AecsMember.h AecsMemberBodyModifier.h AecsMemberCompGeom.h AecsMemberCompGeom.inl #0/2 <text> AecsMemberComponent.h AecsMemberGeom.h AecsMemberInterference.h AecsMemberNodeComponent.h AecsMemberNodeId.h AecsTrimPlane.h

9. Change include path of following header files from AecArchDACHBase to ArchBase AecArchDACHBaseUtils.h AecDbDimensionGroup.h AecDbDimensionGroupOverride.h AecDbDimensionStyle.h AecDbDispPropsConvertor.h AecDbDispPropsConvertorMassGroupToPlanCommon.h AecDbDispPropsConvertorRailingPlanCommonToRailingPlan50.h AecDbDispPropsConvertorWindowToWindowPlan50.h AecDbDispPropsDimGroup.h AecDbDispPropsDimGroupFiler.h AecDbDispPropsDoorPlan100.h AecDbDispPropsDoorPlan50.h AecDbDispPropsDoorPlanGer.h AecDbDispPropsDoorThresholdSymbolPlan.h AecDbDispPropsMassElemPlanCommon.h AecDbDispPropsMassGroupPlanCommon.h AecDbDispPropsOpeningPlanCommon.h AecDbDispPropsOpeningPlanCommonHatched.h AecDbDispPropsOpeningSillPlan.h AecDbDispPropsRailingPlan100.h AecDbDispPropsRailingPlan50.h AecDbDispPropsRailingPlanCommon.h AecDbDispPropsStairPlan100.h AecDbDispPropsStairPlan50.h AecDbDispPropsStairPlanCommon.h AecDbDispPropsWallXSection.h AecDbDispPropsWindowPlan100.h AecDbDispPropsWindowPlan50.h AecDbDispPropsXSectionCmn.h AecDbDispRepDimGroup.h AecDbDispRepDimGroupPlan.h

Page 10: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecDbDispRepDimGroupPlan100.h AecDbDispRepDimGroupPlan50.h AecDbDispRepDoorPlan50.h AecDbDispRepDoorPlanHekto.h AecDbDispRepDoorThresholdSymbolPlan.h AecDbDispRepMassElemPlan100.h AecDbDispRepMassElemPlan50.h AecDbDispRepMassElemPlanCommon.h AecDbDispRepMassGroupPlan100.h AecDbDispRepMassGroupPlan50.h AecDbDispRepMassGroupXSection.h AecDbDispRepOpeningPlan100.h AecDbDispRepOpeningPlan50.h AecDbDispRepOpeningPlanCommon.h AecDbDispRepOpeningPlanCommonHatched.h AecDbDispRepOpeningPlanReflected.h AecDbDispRepOpeningSillPlan.h AecDbDispRepPlan100Types.h AecDbDispRepPlan50Types.h AecDbDispRepRailingPlan100.h AecDbDispRepRailingPlan50.h AecDbDispRepRailingPlanCommon.h AecDbDispRepRailingXSection.h AecDbDispRepStairPlan100.h AecDbDispRepStairPlan50.h AecDbDispRepStairPlanCommon.h AecDbDispRepStairXSection.h AecDbDispRepTemplate.h AecDbDispRepWallXSection.h AecDbDispRepWindowPlan100.h AecDbDispRepWindowPlan50.h AecDictDimensionStyle.h AecDimensionBasicTypes.h AecDimensionChainOverride.h AecDimensionChainSegment.h AecDimensionChainSegmentSequence.h AecDimensionChainSegmentTextPositionData.h AecDimensionChainTextData.h AecDimensionChainTextDataContainer.h AecDimensionChainTextOffsetData.h AecDimensionChainTextPositionData.h AecDimensionGroupInterfaceExtension.h AecDimensionOverride.h AecDimensionOverrideData.h AecDimensionOverrideDataOffset.h AecDimensionOverrideDataTargetExtLinePositions.h AecDimensionOverrideDataText.h AecDimensionOverrideDataVisibility.h

Page 11: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecDimensionOverrideDimTarget.h AecDimensionOverrideExtLine.h AecDimensionOverrideKeyDimTarget.h AecDimensionOverrideKeyExtensionLine.h AecDimensionOverrideKeyLogical.h AecDimensionOverrideKeySegment.h AecDimensionOverrideKeySegmentAtIndex.h AecDimensionOverrideSegment.h AecDimensionOverrideType.h AecDimensionPoint.h AecDimensionPointList.h AecDimensionService.h AecDimensionText.h AecDispPropsDimChain.h AecDispRepTDataDoorPlanGer.h AecExtensionLine.h AecTemplateTypesDimExtLine.h AecTemplateTypesDimText.h AecTemplateTypesDimension.h AecTemplateTypesOverride.h AecViewRelatedOverride.h AecDimensionPointCharacteristics.h AecDbAnchorPointToEnt.h #0/3 <ktext> AecDbAnnoDimensionGroupPE.h AecDimensionOverrideKeyDimTargetComponents.h AecDimensionOverrideUtils.h

10. Update following header files with their new names and locations AecUiBase/AecDocumentDataAecUiBase.h -> AecCore/AecDocumentDataAecCore.h AecUiBase /AecUiBasePreferences.h -> AecCore/AecCorePreferences.h AecUiBase /AecUiBaseServices.h -> AecCore/AecCoreServices.h AecStructureBase/AecDatabaseDataAecStructureBase.h -> ArchBase/ AecDatabaseDataAecArchBase.h

Libs

Guide lines for verticals to update project linked library: a. If the project previously linked to AecBaseEx or AecScheduleData, now it should also link to

AecBase. b. If the project previously linked to AecGuiBase, now it should also linked to AecApp c. If the project previously linked to AecUiBase, now it should link to AecCore d. If the project previously linked to AecGuibase, now it possibly also need to linked to AecCore e. If the project previously linked to AecStructureBase or AecArchDACHBase, now it should link to

AecArchBase

COM Interfaces

Update project interface filename:

Page 12: AutoCAD Architecture 2013 RTM OMF 2013 SDK RTM …tech-autodesk-jp-files.s3.amazonaws.com/file/OMF 2013 Migration... · The OMF SDK classes and the Sprinkler sample have been updated

AecXMunichBase*I.c -> AecXArchBase*I.c

AecsXBaseI*.c -> AecXArchBase*I.c