Author Topic: External References, can you change the overlay property?  (Read 6189 times)

0 Members and 1 Guest are viewing this topic.

SomeCallMeDave

  • Guest
Re: External References, can you change the overlay property?
« Reply #15 on: October 17, 2008, 12:46:20 PM »
Here you go SCuMDave.  I'm sure this is exactly what you needed.

Code: [Select]
Public Sub Layover()

 Dim objSelSets As AcadSelectionSets
 Dim objSelSet As AcadSelectionSet
 Dim objOverlay As AcadExternalReference
 Dim intType(0) As Integer
 Dim varData(0) As Variant
 Dim strPath As String
 Dim strName As String
 Dim dblInsPnt(0 To 2) As Double
 Dim objXref As AcadExternalReference
 Dim objEnt As AcadEntity
 Dim objBlk As AcadBlock
 Dim objBlks As AcadBlocks

strPath = ThisDrawing.GetVariable("DWGPREFIX")
strPath = strPath + "*.dwg"
.........
End Sub



Thanks Bob.  I don't have time to test it,  so do you have a few hours to re-code it to auto-embed into all our templates and to autoload and execute each time acad starts?  And please include network supports.  

Thanks in advance  :)

Oh,  and please stop wasting my RAM by declaring variable you don't use. :realmad:


Thanks again.   :)


ps.  Sorry for hijacking Co.Mnstr's thread,  I couldn't resist 

Bob Wahr

  • Guest
Re: External References, can you change the overlay property?
« Reply #16 on: October 17, 2008, 01:37:50 PM »
Just run this.  It will take care of everything for you.

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: External References, can you change the overlay property?
« Reply #17 on: October 17, 2008, 03:28:24 PM »
now thats funny.  The deployment package has been downloaded 3 times.......
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Bob Wahr

  • Guest
Re: External References, can you change the overlay property?
« Reply #18 on: October 17, 2008, 07:40:10 PM »
That is funny.  Now I wonder if anyone's going to figure out what it is/does.   :evil:

Something special for the person who does.  Not sure what that will be, but I have no doubt that it will be chock full o' awesome.

Bob Wahr

  • Guest
Re: External References, can you change the overlay property?
« Reply #19 on: October 17, 2008, 07:41:11 PM »
The big question is, did cookie monster get taken care of in the midst of all this tom foolery.

SomeCallMeDave

  • Guest
Re: External References, can you change the overlay property?
« Reply #20 on: October 17, 2008, 09:26:47 PM »
That is funny.  Now I wonder if anyone's going to figure out what it is/does.   :evil:

Something special for the person who does.  Not sure what that will be, but I have no doubt that it will be chock full o' awesome.


I've never really cared for the Breeden translation,  but then I don't really consider myself an expert.  But pass the awesome  :)

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: External References, can you change the overlay property?
« Reply #21 on: October 17, 2008, 09:46:13 PM »

Poets, beerhalls and dragons ... some of the things that make life worthwhile :)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Bob Wahr

  • Guest
Re: External References, can you change the overlay property?
« Reply #22 on: October 17, 2008, 10:50:20 PM »
I'll have to figure out what the awesome is but I'll give it to you both.  PM me a mailing address.

Probably a glossy 8x10 of yours truly as it can't get any more awesome than that.

FWIW, not a big fan of that translation either but it was the first easily copy/pasteable version I found.

Co.Mnstr

  • Guest
Re: External References, can you change the overlay property?
« Reply #23 on: October 20, 2008, 01:27:54 PM »
Did I get taken care of, Yes. I lead me into understanding how selectionset and selectionsets are used. A concept I did not know about before.
Thanks, all.