[Вопрос] Views, filtering, Tagging the bars


Hi everyone,

Does anyone know how to turn off the reinforcement from the views? I would like to create PP with multiple sections and some of them should contain reinforcement and some of them not. I was trying to to put reinforcement on diffrent layer but now I cannot filterout that bars from reinforcement. I've found only filters for drawing files but not for layers. But, maybe someone knows even better way to achieve that.

The second thing , how to tag every single bar wchich appear in certain section. One by one, to don't miss anything. Probabaly have to somehow read data from the section view but I have no idea how.

Thank in advance for any help.

Show most helpful answer Hide most helpful answer

Цитируется из: Daviscio94
I've found only filters for drawing files but not for layers.

Hi!
Have you tried to set the filtering properties with SectionFilterProperties? This object is part of SectionGeneralProperties and consists of SectionLayerProperties and this is I think the object you are looking for to filter out the layers with reinforcement.
Filtering out layers and drawing files is at the moment the only way to control the visibility of element inside a UVS created with Python API. API does not support hiding individual rebar representation lines inside a UVS.

Regarding the other thing: Reading the data from the section is possible, but the problem is, that you cannot use this data to actually create a label (I hope labeling rebars is what you mean by tagging them). The reason for that is, that you will get a BaseElementAdapter of type BarsRepresentationLine. You cannot at the moment construct a BarPlacement object from this and therefore you are not able to label it.

Please have a bit more patience, we will try to implement this feature (labeling existing rebars) anytime soon.

Best,
Bart

Цитируется из: Daviscio94
I've found only filters for drawing files but not for layers.

Hi!
Have you tried to set the filtering properties with SectionFilterProperties? This object is part of SectionGeneralProperties and consists of SectionLayerProperties and this is I think the object you are looking for to filter out the layers with reinforcement.
Filtering out layers and drawing files is at the moment the only way to control the visibility of element inside a UVS created with Python API. API does not support hiding individual rebar representation lines inside a UVS.

Regarding the other thing: Reading the data from the section is possible, but the problem is, that you cannot use this data to actually create a label (I hope labeling rebars is what you mean by tagging them). The reason for that is, that you will get a BaseElementAdapter of type BarsRepresentationLine. You cannot at the moment construct a BarPlacement object from this and therefore you are not able to label it.

Please have a bit more patience, we will try to implement this feature (labeling existing rebars) anytime soon.

Best,
Bart


https://campus.allplan.com/ uses cookies  -  More information

Accept