.NET

Reply
Anonymous
0 Posts
Post 1 of 2

Loaded Page Setups...

102 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
15 Posts
0 Kudos
Registered: ‎05-29-2008
Post 2 of 2

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