.NET

Reply
Anonymous(anon)
Posts: 0
Message 1 of 2 (100 Views)

Loaded Page Setups...

100 Views, 1 Replies
08-23-2005 01:37 PM
I know that there has to be a way to do this...Please help of you can...Let's say I have a DWG with the page setups that I want in them...I know how to import them into a new drawing, but I cannot tell if they are already there...Does anyone know a way??? Thanks for the help
Contributor
ash.
Posts: 15
Registered: ‎05-29-2008
Message 2 of 2 (100 Views)

Re: Loaded Page Setups...

07-08-2008 05:28 AM in reply to: Anonymous

        Dim oPsDbDic As DBDictionary = CType(oTrans.GetObject(oPSoId, OpenMode.ForWrite, False, False), DBDictionary)

 

        For Each oDE As DictionaryEntry In oPsDbDic

          If oDE.Key.ToString.Equals("[WHAT YOU'RE LOOKING FOR]") Then

            bPlotSetExists = True

            Exit For

          End If

        Next

Message was edited by: Ash.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!