pycatia.product_structure_interfaces.publications¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.product_structure_interfaces.publications.Publications(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionPublicationsThe collection of the Product publications.A Product object can aggregate one or zero Publicationscollection.- add(i_public_name: str) Publication ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Add(CATBSTR iPublicName) As PublicationAdds a publication object to the product and returns a pointer to thepublication object.Parameters:iPublicNameThe name of the publicationoPubThe publication objectExample: The following example adds a new publication object withthe name “PubName” to the product and returns the publication objectPub1.Dim Prod1 As ProductSet Pub1 = Prod1.Add(PubName)
- Parameters:
i_public_name (str) –
- Return type:
- item(i_identifier: cat_variant) Publication ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func Item(CATVariant iIdentifier) As PublicationReturns the publication object corresponding to the given publicationname.Parameters:iIdentifierThe name of the publicationoPubThe publication objectExample: The following example returns Pub1 publication object fromthe product referencing the published name PubId.Dim Prod1 As ProductSet Pub1 = Prod1.Item(PubId)
- Parameters:
i_identifier (cat_variant) –
- Return type:
- remove(i_identifier: str) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub Remove(CATBSTR iIdentifier)Removes a publication from the product.Parameters:iIdentifierThe name of the publicationExample: The following example removes the publication objectcorresponding to the name PubId.Dim Prod1 As ProductProd1.Remove(PubId)
- Parameters:
i_identifier (str) –
- Return type:
None
- set_direct(i_identifier: cat_variant, i_pointed: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetDirect(CATVariant iIdentifier,Reference iPointed)Valuates a publication object directly with the object itpublishes.Parameters:iIdentifierThe name of the publicationiPointedThe published objectThe followingBoundary objects is supported: BoundaryExample: The following example valuates the publication object ofproduct Prod1 having the name PubId with the reference objectRefObject.Dim Prod1 As ProductProd1.SetDirect(PubId,RefObject)
- Parameters:
i_identifier (cat_variant) –
i_pointed (Reference) –
- Return type:
None
- set_relay(i_identifier: cat_variant, i_relayer: Publications, i_name_in_relay: cat_variant) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetRelay(CATVariant iIdentifier,Publications iRelayer,CATVariant iNameInRelay)Valuates a publication object with another publicationobject.Parameters:iIdentifierThe name of the publication to be valuatediRelayerThe product aggregating the valuating intermediate publicationobjectiNameInRelayThe name of the valuating publication objectExample: The following example valuates the publication object ofproduct Prod1 having the name PubId1 with the publication object of productProd2 having the name PubId2.Dim Prod1 As ProductProd1.SetRelay(PubId1,Prod2,PubId2)
- Parameters:
i_identifier (cat_variant) –
i_relayer (Publications) –
i_name_in_relay (cat_variant) –
- Return type:
None