CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedInvalid Layer

 Post Reply Post Reply
Author
PrasadUddanti View Drop Down
Newbie
Newbie


Joined: 05.Apr.2016
Location: India
Using: AUTOCAD 2014
Status: Offline
Points: 6
Direct Link To This Post Topic: Invalid Layer
    Posted: 05.Apr.2016 at 10:48
Hi i am using Autocad 2014 API facing some issues in autocad 2014 API.
while assign Freeze property is false on first layer  through coding i am getting error message  invalid layer.Please help on that.

Please see the below VB.Net code

  For Each objLayer As Autodesk.AutoCAD.Interop.Common.AcadLayer In Acad.ActiveDocument.Layers
                objLayer.LayerOn = True
                objLayer.Freeze = False        
            Next objLayer


Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,227 seconds.