Add Column to PartsList

Add Column to PartsList

Anonymous
Not applicable
309 Views
3 Replies
Message 1 of 4

Add Column to PartsList

Anonymous
Not applicable
I need to check if a specific custom BOM column exists and if not then
create it.

In MDT it was similar to

Set symbb =
AcadDoc.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")
Set stdmgr = symbb.StandardMgr
Set bomstd = stdmgr.CurrentStandard.BOMStandard

bomstd.AddColumn sbItem, sbInteger, "ECO", "ECO", 0


Is it possible to add a column to the PartsListColumns collection as there
dosn't appear to be an 'Add' function exposed
Or
How else may I add a column to the partslist (BOM) from vb

Thanks in advance
Brian
0 Likes
310 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
The current API functionality for parts lists in Inventor just provides
access to the existing rows and columns. You can't currently add or remove
columns.

-Brian

"owenreagh" wrote in message
news:4024A12349E4E4CFB93A82EEAD9517F7@in.WebX.maYIadrTaRb...
> I need to check if a specific custom BOM column exists and if not then
> create it.
>
> In MDT it was similar to
>
> Set symbb =
> AcadDoc.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")
> Set stdmgr = symbb.StandardMgr
> Set bomstd = stdmgr.CurrentStandard.BOMStandard
>
> bomstd.AddColumn sbItem, sbInteger, "ECO", "ECO", 0
>
>
> Is it possible to add a column to the PartsListColumns collection as there
> dosn't appear to be an 'Add' function exposed
> Or
> How else may I add a column to the partslist (BOM) from vb
>
> Thanks in advance
> Brian
>
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
When you say currently - does that mean you expect do do so?

If so when (approx)?

Is there going to be an API service pack soon ?

Brian

"Brian Ekins" wrote in message
news:2BDDF8AB92EB212EC98BC57720981DC8@in.WebX.maYIadrTaRb...
> The current API functionality for parts lists in Inventor just provides
> access to the existing rows and columns. You can't currently add or
remove
> columns.
>
> -Brian
>
> "owenreagh" wrote in message
> news:4024A12349E4E4CFB93A82EEAD9517F7@in.WebX.maYIadrTaRb...
> > I need to check if a specific custom BOM column exists and if not then
> > create it.
> >
> > In MDT it was similar to
> >
> > Set symbb =
> > AcadDoc.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")
> > Set stdmgr = symbb.StandardMgr
> > Set bomstd = stdmgr.CurrentStandard.BOMStandard
> >
> > bomstd.AddColumn sbItem, sbInteger, "ECO", "ECO", 0
> >
> >
> > Is it possible to add a column to the PartsListColumns collection as
there
> > dosn't appear to be an 'Add' function exposed
> > Or
> > How else may I add a column to the partslist (BOM) from vb
> >
> > Thanks in advance
> > Brian
> >
> >
>
>
0 Likes
Message 4 of 4

Anonymous
Not applicable
I can't committ to when this will be available, but I will tell you it is
not in the upcoming 5.3 SP2 or Inventor 6. This was previously recognized
as functionality missing from the API, but this is the first request we have
for that capability. Because of what seemed like limited interest it had a
lower priority than the functionality we're currently working on for
Inventor 6. Understanding everyone's needs helps us in determining the
priorities of what we do next.

-Brian

"owenreagh" wrote in message
news:BD3A638611027BDD9F3C5705B6238F35@in.WebX.maYIadrTaRb...
> When you say currently - does that mean you expect do do so?
>
> If so when (approx)?
>
> Is there going to be an API service pack soon ?
>
> Brian
>
> "Brian Ekins" wrote in message
> news:2BDDF8AB92EB212EC98BC57720981DC8@in.WebX.maYIadrTaRb...
> > The current API functionality for parts lists in Inventor just provides
> > access to the existing rows and columns. You can't currently add or
> remove
> > columns.
> >
> > -Brian
> >
> > "owenreagh" wrote in message
> > news:4024A12349E4E4CFB93A82EEAD9517F7@in.WebX.maYIadrTaRb...
> > > I need to check if a specific custom BOM column exists and if not then
> > > create it.
> > >
> > > In MDT it was similar to
> > >
> > > Set symbb =
> > > AcadDoc.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr")
> > > Set stdmgr = symbb.StandardMgr
> > > Set bomstd = stdmgr.CurrentStandard.BOMStandard
> > >
> > > bomstd.AddColumn sbItem, sbInteger, "ECO", "ECO", 0
> > >
> > >
> > > Is it possible to add a column to the PartsListColumns collection as
> there
> > > dosn't appear to be an 'Add' function exposed
> > > Or
> > > How else may I add a column to the partslist (BOM) from vb
> > >
> > > Thanks in advance
> > > Brian
> > >
> > >
> >
> >
>
>
0 Likes