What is wrong with below code: Public Sub SORGBURST() 'Dim tmp点(2) As Double 'Dim…
- User
What is wrong with below code:
Public Sub S_ORG_BURST()
code - Assistant
There are a few things wrong with the code:
-
The code is missing the necessary imports at the beginning of the code, such as
Imports Autodesk.AutoCAD.ApplicationServicesandImports Autodesk.AutoCAD.EditorInput. These imports are required for the code to work correctly. -
The code is using an undefined variable
acApp. This variable should be defined asDim acApp As Application = Application.DocumentManager.MdiActiveDocumentbefore it is used. -
The code is using an undefined variable
attRef.TextString(). It should beattRef.TextStringwithout the parentheses. -
The code is using an undefined variable
attRef.Justify(). It should beattRef.Justifywithout the parentheses. -
The code is using an undefined property
attRef.AcadObject.Backward. It should beattRef.IsBackwardinstead.
-