-1

I am trying to create a macro using c# in revit. I am getting 3 errors. i) The name 'WallSection' does not exist in the current context (CS0103) ii) The name 'WallLayerDimensions' does not exist in the current context (CS0103) iii) Then name 'ViewOnSheet' does not exist in the current context (CS0103)

Can anybody help with this errors.

dario
  • 5,149
  • 12
  • 28
  • 32
kulkul
  • 1
  • Post code as well and exact error. –  May 03 '15 at 12:11
  • Thanks Neel, I solve the errors. I missed the namespace but i am unable to run the macro its showing error Revit Run Macro Failed. Can you give me your email Id i will send you the code. – kulkul May 04 '15 at 12:47
  • Thanks Neel, I solve the errors. I missed the namespace but i am unable to run the macro its showing error Revit Run Macro Failed. Can you give me your email Id i will send you the code. – kulkul May 04 '15 at 12:50
  • Code is quite big. How do i post? – kulkul May 06 '15 at 13:20

1 Answers1

0

You're probably missing required namespace... but could not find the classes you point out on the Revit 2015 SDK.

Which Revit version?

Augusto Goncalves
  • 8,493
  • 2
  • 17
  • 44
  • Thanks Augusto, I solve the errors. I missed the namespace but i am unable to run the macro its showing error Revit Run Macro Failed. Can you give me your email Id i will send you the code. – kulkul May 04 '15 at 12:51
  • Code is quite Big. How do i post? – kulkul May 06 '15 at 13:20