Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I am trying to add a relation to a datum feature on an assembly (the coordinate system). The same algorithm works when adding the relation to a feature on a part (also the coordinate system). The function ProRelsetRelationsSet returns a general error. I am opened to any suggestions. The code segment is shown below with additional comments added.
Sharon
/*******************************************************
comment 1 - this code is written to add a relation to a part, and assembly or a feature on either. The part and assembly directly translate to a modelitem, but the feature is initialized as a modelitem using the ID which was stored earlier in the code.
