Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get Part Enabled Information

7 REPLIES 7
Reply
Message 1 of 8
Anonymous
219 Views, 7 Replies

Get Part Enabled Information

Partial Listing...

Dim C1 As Integer
C1 = 0
For Each oPCompRef In oPCompRefs
C1 = C1 + 1
PartNo = Left((oPCompRef.ReferencedFileDescriptor.DisplayName),
Len(oPCompRef.ReferencedFileDescriptor.DisplayName) - 4)
MsgBox oPCompRef.ImmediateOccurrences.Item(C1).oProp3(2).Value
MsgBox oPCompRef.ImmediateOccurrences.Item(C1).Enabled
If oPCompRef.ImmediateOccurrences.Item(C1).Enabled = True Then
QTY = oPCompRef.ImmediateOccurrences.Count
End If

.
.
.
.
.
Next oPCompRef

I am trying to print out the enabled status and the property part name for a
part within an assembly. The enabled status works once (there are six plus
parts in my assembly), and I cannot get to the properties portion to work at
all. Any help would be greatly appreciated.
7 REPLIES 7
Message 2 of 8
avbuiten
in reply to: Anonymous

Example provided in ICF
Anton
Message 3 of 8
Anonymous
in reply to: Anonymous

And what is ICF?


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Example
provided in ICF
Anton
Message 4 of 8
Anonymous
in reply to: Anonymous

Inventor Customer Files. It's another NG.

Web: http://discussion.autodesk.com/WebX?14@133.EtE2aKDFy1b.0@.f15ad3a

Newsreader: news://discussion.autodesk.com/autodesk.inventor.customer-files

--
______________
Rui
www.cadmais.pt


"Stephen Anderson" wrote in message
news:2AC5DB3DA1B444E8F8694C77A2E20A19@in.WebX.maYIadrTaRb...
> And what is ICF?
> "avbuiten" wrote in message
news:f1a060d.0@WebX.maYIadrTaRb...
> Example provided in ICF
> Anton
Message 5 of 8
Anonymous
in reply to: Anonymous

This is all very meaningless. or...

TIAVM!

If you care to elaborate further, English is the language I speak.


"Rui" wrote in message
news:DBBFFFDB0F5F8B7F73429785731CE71C@in.WebX.maYIadrTaRb...
> Inventor Customer Files. It's another NG.
>
> Web: http://discussion.autodesk.com/WebX?14@133.EtE2aKDFy1b.0@.f15ad3a
>
> Newsreader:
news://discussion.autodesk.com/autodesk.inventor.customer-files
>
> --
> ______________
> Rui
> www.cadmais.pt
>
>
> "Stephen Anderson" wrote in message
> news:2AC5DB3DA1B444E8F8694C77A2E20A19@in.WebX.maYIadrTaRb...
> > And what is ICF?
> > "avbuiten" wrote in message
> news:f1a060d.0@WebX.maYIadrTaRb...
> > Example provided in ICF
> > Anton
>
>
Message 6 of 8
Anonymous
in reply to: Anonymous

OK.

Did you press the links?

Customer files is another NewsGroup. (Just like this one, but has a
different name and it's purpose is to allow us to post files there)

If you use a web browser, click this link or copy and paste it into your
address bar:
http://discussion.autodesk.com/WebX?14@133.EtE2aKDFy1b.0@.f15ad3a

If you use a news reader (like Outlook or Outlook Express), press this link:
news://discussion.autodesk.com/autodesk.inventor.customer-files

Then subscibe to it so you can see the messages and post,
download.....whatever.

Did that help?

--
______________
Rui
ruivaz@cadmais.pt
www.cadmais.pt


"Stephen Anderson" wrote in message
news:B251FDE1F2C4E9D5DFE0B8039D880DB5@in.WebX.maYIadrTaRb...
> This is all very meaningless. or...
>
> TIAVM!
>
> If you care to elaborate further, English is the language I speak.
>
>
> "Rui" wrote in message
> news:DBBFFFDB0F5F8B7F73429785731CE71C@in.WebX.maYIadrTaRb...
> > Inventor Customer Files. It's another NG.
> >
> > Web: http://discussion.autodesk.com/WebX?14@133.EtE2aKDFy1b.0@.f15ad3a
> >
> > Newsreader:
> news://discussion.autodesk.com/autodesk.inventor.customer-files
> >
> > --
> > ______________
> > Rui
> > www.cadmais.pt
> >
> >
> > "Stephen Anderson" wrote in message
> > news:2AC5DB3DA1B444E8F8694C77A2E20A19@in.WebX.maYIadrTaRb...
> > > And what is ICF?
> > > "avbuiten" wrote in message
> > news:f1a060d.0@WebX.maYIadrTaRb...
> > > Example provided in ICF
> > > Anton
> >
> >
>
>
Message 7 of 8
Anonymous
in reply to: Anonymous

Stephen

ICF is short for Inventor Customer files. If you had clicked on the appropriate link
(either newsreader or web) that Rui posted you should have been taken to it. Any
attachments other than gif, png, or jpg's under 200k are to be put in Customer-files.

The internet is full of acronyms, and I don't suspect they will go away.

All the Inventor related newsgroups can be found here.
http://discussion.autodesk.com/WebX?14@71.LnwZabVbq8X.0@.ee93814

And the links that Rui provided again are

Web:
http://discussion.autodesk.com/WebX?14@133.EtE2aKDFy1b.0@.f15ad3a
Newsreader:
news://discussion.autodesk.com/autodesk.inventor.customer-files


--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"Stephen Anderson" wrote in message
news:B251FDE1F2C4E9D5DFE0B8039D880DB5@in.WebX.maYIadrTaRb...
> This is all very meaningless. or...
>
> TIAVM!
>
> If you care to elaborate further, English is the language I speak.
>
>
Message 8 of 8
Anonymous
in reply to: Anonymous

Thanks! Now I get it.

"Kent Keller" wrote in message
news:926833832E5C696EAEC3AD5C8984FD98@in.WebX.maYIadrTaRb...
> Stephen
>
> ICF is short for Inventor Customer files. If you had clicked on the
appropriate link
> (either newsreader or web) that Rui posted you should have been taken to
it. Any
> attachments other than gif, png, or jpg's under 200k are to be put in
Customer-files.
>
> The internet is full of acronyms, and I don't suspect they will go away.
>
> All the Inventor related newsgroups can be found here.
> http://discussion.autodesk.com/WebX?14@71.LnwZabVbq8X.0@.ee93814
>
> And the links that Rui provided again are
>
> Web:
> http://discussion.autodesk.com/WebX?14@133.EtE2aKDFy1b.0@.f15ad3a
> Newsreader:
> news://discussion.autodesk.com/autodesk.inventor.customer-files
>
>
> --
> Kent
> Assistant Moderator
> Autodesk Discussion Forum Moderator Program
>
>
> "Stephen Anderson" wrote in message
> news:B251FDE1F2C4E9D5DFE0B8039D880DB5@in.WebX.maYIadrTaRb...
> > This is all very meaningless. or...
> >
> > TIAVM!
> >
> > If you care to elaborate further, English is the language I speak.
> >
> >
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report