RefPlaneFeatureData::AccessSelections

Discussion in 'SolidWorks' started by Sean Phillips, Aug 25, 2003.

  1. im trying to change a refplane that is in the top level assembly
    set myassembly = modeldoc2.Activedoc
    i tryed to send null for component but it did not work.
    accessGained = RefPlaneFeatureData.AccessSelections ( myassembly , null)
    how do i modify the plane.
     
    Sean Phillips, Aug 25, 2003
    #1
  2. use AssemblyDoc::GetActiveConfiguration then Configuration::GetRootComponent
    to access the "component" that contains top level features.
     
    Philippe Guglielmetti, Aug 25, 2003
    #2
  3. the plane is in the assemblydoc that contains all the components. the
    active assemblydoc is not a component.
     
    Sean Phillips, Aug 25, 2003
    #3
  4. a work partner had a greate idea that worked. dim a component2 with
    null as the value and pass that. yes it worked
     
    Sean Phillips, Aug 25, 2003
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...